Difference between revisions of "Template:SBX"
Jump to navigation
Jump to search
(Added documentation; Changed default border color to Cool Gray 11C and default background to 109C) |
(Listing defaults in documentation) |
||
Line 3: | Line 3: | ||
CSS styling template. Place inside a style attribute. | CSS styling template. Place inside a style attribute. | ||
− | Draws a no-gradient rounded box with shadow. | + | Draws a solid-colored no-gradient rounded box with shadow. |
__NOTOC__ | __NOTOC__ | ||
==Settings== | ==Settings== | ||
− | *border: border color | + | *border: border color (Default: Cool Gray 11C) |
− | *background: background color | + | *background: solid background color (Default: 109C) |
− | *radius: radius of corners | + | *radius: radius of corners (Default: 1 em) |
Latest revision as of 23:08, 8 August 2017
CSS styling template. Place inside a style attribute.
Draws a solid-colored no-gradient rounded box with shadow.
Settings
- border: border color (Default: Cool Gray 11C)
- background: solid background color (Default: 109C)
- radius: radius of corners (Default: 1 em)
Examples
Defaults
Taxation
is
Theft
<DIV style="width: 25em; text-align:center; {{SBX}}"> '''Taxation<BR/>is<BR/>Theft''' </DIV>
Customized
Taxation
is
Theft
<DIV style="width: 25em; text-align:center; {{SBX | border=#FF007F | background=#88DBDF | radius=2em}}"> '''Taxation<BR/>is<BR/>Theft''' </DIV>