Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Color box: Difference between revisions

Template page
m Add option to disable the default of the content of the box being in italics. Increase top/bottom margin to stop from being glued to other divs.
m Set font-style normal when parameter italics is no. Needed for nested boxes where the containing element has font-style italics, font-style inherits.
Line 8: Line 8:
color: {{{text|white}}};  
color: {{{text|white}}};  
{{#ifeq: {{{italics}}} | no
{{#ifeq: {{{italics}}} | no
  |
  | font-style: normal;
  | font-style: italic;
  | font-style: italic;
}}
}}