Difference between revisions of "Template:RBX"
Jump to navigation
Jump to search
(Changing default color to Cool Gray 1C and default border to Cool Gray 11C) |
(tinkering; where did the gradient go?; fixed?) |
||
Line 1: | Line 1: | ||
− | <includeonly>border:1px {{{border|#53565A}}} solid; background:{{{legacy|#D9D9D6}}}; background | + | <includeonly>border:1px {{{border|#53565A}}} solid; 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%); -moz-border-radius:{{{radius|1em}}}; -khtml-border-radius:{{{radius|1em}}}; -opera-border-radius:{{{radius|1em}}}; border-radius:{{{radius|1em}}}; -webkit-border-radius: {{{webkit|1em}}}; -webkit-box-shadow:0.5em 0.5em 1em #000000; -moz-box-shadow: 0.5em 0.5em 1em #000000; box-shadow: 0.5em 0.5em 1em #000000; </includeonly><noinclude> |
CSS styling template. Place inside a style attribute. | CSS styling template. Place inside a style attribute. |
Revision as of 20:09, 8 August 2017
CSS styling template. Place inside a style attribute.
Settings
- border: border color
- legacy: background color for non-CSS3 browsers
- topcolor: color at the top of the background gradient
- botcolor: color at the bottom of the background gradient
- radius: radius of corners
- webkit: radius of corners for browsers that respond to -webkit-border-radius
Examples
Defaults
Taxation
is
Theft
<DIV style="width: 25em; text-align:center; {{RBX}}"> '''Taxation<BR/>is<BR/>Theft''' </DIV>
Customized
Taxation
is
Theft
<DIV style="width: 25em; text-align:center; {{RBXNS | border=#FF007F | legacy=#DFDFDF | topcolor=#BF7F17 | botcolor=#177FBF | radius=2em | webkit=0}}"> '''Taxation<BR/>is<BR/>Theft''' </DIV>