Difference between revisions of "User:Thickbrick Sleaford/ColorBox"
Jump to navigation
Jump to search
m |
|||
Line 13: | Line 13: | ||
<!-- gradient style (doesn't quite work) --> | <!-- gradient style (doesn't quite work) --> | ||
<!-- | <!-- | ||
Line 28: | Line 20: | ||
background: {{{3|#C7F3F7}}} filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='{{{4|#EFFCFC}}}', endColorstr='{{{5|#C7F3F7}}}'); | background: {{{3|#C7F3F7}}} filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='{{{4|#EFFCFC}}}', endColorstr='{{{5|#C7F3F7}}}'); | ||
--> | --> | ||
</noinclude><div style="display: inline-block; | |||
padding: 0px 30px 2px 20px; margin: 4px 0px 12px 0px; background: {{{3|#EBFDFF}}}; border: 2px solid {{{4|#87A5CC}}}; -webkit-border-radius: {{{6|6px}}}; -moz-border-radius: {{{6|6px}}}; border-radius: {{{6|6px}}};"><b><span style="text-shadow: {{{5|#AAF}}} 1px 2px 2px;">{{{1|Title here:}}}</span></b> {{{2|Content here. More content.}}} | |||
</div> |
Revision as of 15:22, 28 July 2010
Rounded Color Box Template
Use this template by putting this in your page:
{{User:Thickbrick_Sleaford/ColorBox|Title|Conent}}
Parameters:
- Title
- Content
- Background color (optional)
- Border color (optional)
- Title shadow color (optional)
- Corner Radius (optional)
Title here: Content here. More content.