LCARS:Photons Formatting: Difference between revisions

From LCARS
(Photon css help)
 
(Added table with css classes for specific characters.)
Line 1: Line 1:
We have a special style sheet for the game site that gives photon characters unique formatting due to their unique nature. Here is some help if you have one such character and wish to use it for your posts:
We have a special style sheet for the game site that gives photon characters unique formatting due to their unique nature. Here is some help if you have one such character and wish to use it for your posts:


If you add <pre>class="photon"</pre> to a containing tag such as span, div, etc, it will change the font to a fixed width one, and for some of the tags such as div, will add additional customization.
If you add <code>class="photon"</code> to a containing tag such as span, div, etc, it will change the font to Nova Mono, and for some of the tags such as div, will add additional customization. Alternatively, <code>class="tw"</code> will use the Ubuntu mono font.
 
Each photon can be assigned additional formatting, such as color. Please contact [[user:Pond|Amy]] for help setting this up. To use your photon's formatting you will modify the class you add to your containing tags like so: <code>class="photon char-class"</code>
 
The following characters have established char-classes:
{| class="photon-css"
|-
! Character !! char-class !! color
|-
| Bad Wolf || badwolf || #ffb0ff
|-
| Fen || fen || #1DAF99
|-
| Bella || bella || #F3eb82
|-
| Tory || tory || #B0C4DE
|-
| Diziara || diz || #68c6ff
|-
| Corey || cor || #cc6666
|}


Each photon can be assigned additional formatting, such as color. Please contact [[user:Pond|Amy]] for help setting this up. To use your photon's formatting you will modify the class you add to your containing tags like so: <pre>class="photon char-class"</pre>


[[Category:Meta]]
[[Category:Meta]]

Revision as of 14:16, 26 April 2020

We have a special style sheet for the game site that gives photon characters unique formatting due to their unique nature. Here is some help if you have one such character and wish to use it for your posts:

If you add class="photon" to a containing tag such as span, div, etc, it will change the font to Nova Mono, and for some of the tags such as div, will add additional customization. Alternatively, class="tw" will use the Ubuntu mono font.

Each photon can be assigned additional formatting, such as color. Please contact Amy for help setting this up. To use your photon's formatting you will modify the class you add to your containing tags like so: class="photon char-class"

The following characters have established char-classes:

Character char-class color
Bad Wolf badwolf #ffb0ff
Fen fen #1DAF99
Bella bella #F3eb82
Tory tory #B0C4DE
Diziara diz #68c6ff
Corey cor #cc6666