Difference between revisions of "Template:GRX"
Jump to navigation
Jump to search
m (1 revision imported: Importing changes from 1Q2017 temporary/test site) |
(Updating default colors; listing defaults in documentation) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | background:{{{legacy|# | + | <includeonly>background-color:{{{legacy|#D9D9D6}}}; background:{{{legacy|#D9D9D6}}}; background:-moz-linear-gradient(top,{{{topcolor|#D9D9D6}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background:-webkit-gradient(linear,left top,left bottom,color-stop(6%,{{{topcolor|#D9D9D6}}}), color-stop(88%,{{{botcolor|#FFFFFF}}})); background: -webkit-linear-gradient(top, {{{topcolor|##D9D9D6}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background:-o-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background:-ms-linear-gradient(top, {{{topcolor|#D9D9D6}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background:linear-gradient(top, {{{topcolor|#D9D9D6}}} 6%, {{{botcolor|#FFFFFF}}} 88%); *display: block;</includeonly><noinclude> |
| − | < | + | |
| + | CSS styling template. Place inside a style attribute. | ||
| + | |||
| + | Draws a vertical gradient. | ||
| + | __NOTOC__ | ||
| + | ==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=== | ||
| + | <DIV style="width: 25em; text-align:center; {{GRX}}"> | ||
| + | '''Taxation<BR/>is<BR/>Theft''' | ||
| + | </DIV> | ||
| + | |||
| + | <TT><PRE><DIV style="width: 25em; text-align:center; {{GRX}}"> | ||
| + | '''Taxation<BR/>is<BR/>Theft''' | ||
| + | </DIV></PRE></TT> | ||
| + | |||
| + | ===Customized=== | ||
| + | <DIV style="width: 25em; text-align:center; {{GRX | legacy=#DFDFDF | topcolor=#BF7F17 | botcolor=#177FBF }}"> | ||
| + | '''Taxation<BR/>is<BR/>Theft''' | ||
| + | </DIV> | ||
| + | |||
| + | <TT><PRE><DIV style="width: 25em; text-align:center; {{GRX | legacy=#DFDFDF | topcolor=#BF7F17 | botcolor=#177FBF}}"> | ||
| + | '''Taxation<BR/>is<BR/>Theft''' | ||
| + | </DIV></PRE></TT> | ||
| + | |||
| + | [[Category:Text Templates]]</noinclude> | ||
Latest revision as of 23:08, 8 August 2017
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>