Template:GRX

From Dissent
Revision as of 23:08, 8 August 2017 by Strangelv (talk | contribs) (Updating default colors; listing defaults in documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


CSS styling template. Place inside a style attribute.

Draws a vertical gradient.

Settings

  • legacy: solid background color for non-CSS3 browsers (Default: Cool Gray 1C)
  • topcolor: color at the top of the background gradient (Default: Cool Gray 1C)
  • botcolor: color at the bottom of the background gradient (Default: white)

Examples

Defaults

Taxation
is
Theft

<DIV style="width: 25em; text-align:center; {{GRX}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>

Customized

Taxation
is
Theft

<DIV style="width: 25em; text-align:center; {{GRX | legacy=#DFDFDF | topcolor=#BF7F17 | botcolor=#177FBF}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>