Help:Coloring text: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 43: Line 43:


==Class Color Spans==
==Class Color Spans==
Class colors work for both dark and light colors. Use &lt;b>&lt;span class="text-purple"> like this &lt;/span>&lt;/b> that displays <b><span class="text-purple">like this</span></b>, or &lt;span class="bg-yellowgreen"> like this &lt;/span> that displays <span class="bg-yellowgreen">like this</span>. This method works in all contexts but is limited to the pre-set colors below.
Class colors work for both dark and light colors. Use '''&lt;b>&lt;span class="text-purple">like this&lt;/span>&lt;/b>''' that displays <b><span class="text-purple">like this</span></b>, or '''&lt;span class="bg-yellowgreen">like this&lt;/span>''' that displays <span class="bg-yellowgreen">like this</span>. This method works in all contexts but is limited to the pre-set colors below.


Here is the main set of class colors available in Proteopedia. You will use each class combined with '''text-''' to color text, or '''bg-''' to color the background.
Here is the main set of class colors available in Proteopedia. You will use each class combined with '''text-''' to color text, or '''bg-''' to color the background.

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Jaime Prilusky