User:Eric Martz/Sandbox 5: Difference between revisions
Jump to navigation
Jump to search
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
Light colors may be unreadable on a white background, so use a black background. But there seems to be '''no way to specify a background color in a caption'''. So you will need to put the color key in the text of the page. For standard color keys, templates are provided: see [[Help:Color Keys]]. Proteopedia page text does not support HTML bgcolor, but it supports CSS font color: | Light colors may be unreadable on a white background, so use a black background. But there seems to be '''no way to specify a background color in a caption'''. So you will need to put the color key in the text of the page. For standard color keys, templates are provided: see [[Help:Color Keys]]. Proteopedia page text does not support HTML bgcolor, but it supports CSS font color: | ||
*Yellow on white: <nowiki><font color="yellow"><b> | *Yellow on white: <nowiki><font color="yellow"><b>Sulfur</b></font>.</nowiki> displays <font color="yellow"><b>yellow</b></font>. | ||
<!--*Yellow on black: <nowiki><font color="yellow" bgcolor="black"><b>yellow</b></font>.</nowiki> displays <font color="yellow" bgcolor="black"> | <!--*Yellow on black: <nowiki><font color="yellow" bgcolor="black"><b>yellow</b></font>.</nowiki> displays <font color="yellow" bgcolor="black">Sulfur</font>.--> | ||
*Yellow on black: <nowiki><font style="background-color:black;color:yellow;padding: 3px 1px 2px 1px;"> | *Yellow on black: <nowiki><font style="background-color:black;color:yellow;padding: 3px 1px 2px 1px;">Sulfur</font>.</nowiki> displays <font style="background-color:black;color:yellow;padding: 3px 4px 2px 4px;">Sulfur</font>. | ||
Revision as of 20:14, 19 August 2020
Caption RulesThese rules are concluded from the tests below. Coloring Caption TextCaption text can be colored using HTML:
Colors are usually easier to see in boldface. You can use either HTML or wikitext bold markup:
Light colors may be unreadable on a white background, so use a black background. But there seems to be no way to specify a background color in a caption. So you will need to put the color key in the text of the page. For standard color keys, templates are provided: see Help:Color Keys. Proteopedia page text does not support HTML bgcolor, but it supports CSS font color:
Caption TestsScene 1.
Scene 2.
Scene 4.
Scene 5. .
Scene 6. .
Scene 7. .
Scene 8. .
|
|