Difference between revisions of "Template:RBNS"

From Dissent
Jump to navigation Jump to search
m (1 revision imported)
(changing default border to Cool Gray 11C; adding documentation)
Line 1: Line 1:
border:1px {{{border|#3F3F3F}}} solid; background:transparent; background-color:transparent; -moz-border-radius: {{{radius|1em}}}; -khtml-border-radius:  {{{radius|1em}}}; -opera-border-radius:  {{{radius|1em}}}; border-radius: {{{radius|1em}}}; -webkit-border-radius: {{{webkit|1em}}}
+
border:1px {{{border|#53565A}}} solid; background:transparent; background-color:transparent; -moz-border-radius: {{{radius|1em}}}; -khtml-border-radius:  {{{radius|1em}}}; -opera-border-radius:  {{{radius|1em}}}; border-radius: {{{radius|1em}}}; -webkit-border-radius: {{{webkit|1em}}}<noinclude>
<noinclude>[[Category:Text Templates]]</noinclude>
+
 
 +
CSS styling template.  Place inside a style attribute.
 +
__NOTOC__
 +
==Settings==
 +
*border: border color
 +
*radius: radius of corners
 +
*webkit: radius of corners for browsers that respond to -webkit-border-radius
 +
 
 +
==Examples==
 +
===Defaults===
 +
<DIV style="width: 25em; text-align:center; {{RBNS}}">
 +
'''Taxation<BR/>is<BR/>Theft'''
 +
</DIV>
 +
 
 +
<TT><PRE><DIV style="width: 25em; text-align:center; {{RBNS}}">
 +
'''Taxation<BR/>is<BR/>Theft'''
 +
</DIV></PRE></TT>
 +
 
 +
===Customized===
 +
<DIV style="width: 25em; text-align:center; {{RBNS | border=#FF007F | radius=2em | webkit=4em}}">
 +
'''Taxation<BR/>is<BR/>Theft'''
 +
</DIV>
 +
 
 +
<TT><PRE><<DIV style="width: 25em; text-align:center; {{RBNS | border=#FF007F | radius=2em | webkit=4em}}">
 +
'''Taxation<BR/>is<BR/>Theft'''
 +
</DIV></PRE></TT>
 +
 
 +
[[Category:Text Templates]]</noinclude>

Revision as of 22:24, 8 August 2017

border:1px #53565A solid; background:transparent; background-color:transparent; -moz-border-radius: 1em; -khtml-border-radius: 1em; -opera-border-radius: 1em; border-radius: 1em; -webkit-border-radius: 1em

CSS styling template. Place inside a style attribute.

Settings

  • border: border color
  • 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; {{RBNS}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>

Customized

Taxation
is
Theft

<<DIV style="width: 25em; text-align:center; {{RBNS | border=#FF007F | radius=2em | webkit=4em}}">
'''Taxation<BR/>is<BR/>Theft'''
</DIV>