Difference between revisions of "User:TheTric/Zetta/Page/Container"
From SpiralKnights
< User:TheTric | Zetta | Page
m |
(refinement into sk style) |
||
Line 2: | Line 2: | ||
style=" | style=" | ||
margin:{{{margin|0px 0px 5px 0px}}}; | margin:{{{margin|0px 0px 5px 0px}}}; | ||
− | border:{{{border-width|3px}}} {{{border-type| | + | border:{{{border-width|3px}}} {{{border-type|solid}}} rgba({{{border-color|0,0,0}}},1); |
border-radius: {{{border-radius|15px}}}; | border-radius: {{{border-radius|15px}}}; | ||
-moz-border-radius: {{{border-radius|15px}}}; | -moz-border-radius: {{{border-radius|15px}}}; | ||
Line 9: | Line 9: | ||
-icab-border-radius: {{{border-radius|15px}}}; | -icab-border-radius: {{{border-radius|15px}}}; | ||
-o-border-radius: {{{border-radius|15px}}}; | -o-border-radius: {{{border-radius|15px}}}; | ||
− | background-color: rgba({{{background-color| | + | background-color: rgba({{{header background-color|235,201,77}}},{{{fade|1}}}); |
"><div class="zHeader" | "><div class="zHeader" | ||
style=" | style=" | ||
margin:-{{{border-width|3px}}}; | margin:-{{{border-width|3px}}}; | ||
− | border:{{{header border-width|3px}}} {{{header border-type| | + | border:{{{header border-width|3px}}} {{{header border-type|solid}}} rgba({{{header border-color|0,0,0}}},0); |
border-radius: {{{header border-radius|15px}}}; | border-radius: {{{header border-radius|15px}}}; | ||
-moz-border-radius: {{{header border-radius|15px}}}; | -moz-border-radius: {{{header border-radius|15px}}}; | ||
Line 21: | Line 21: | ||
-o-border-radius: {{{header border-radius|15px}}}; | -o-border-radius: {{{header border-radius|15px}}}; | ||
padding:{{{header padding|5px}}}; | padding:{{{header padding|5px}}}; | ||
− | background-color: rgba({{{header background-color| | + | background-color: rgba({{{header background-color|235,201,77}}},0); |
Font-size: {{{header font-size|1.25em}}}; | Font-size: {{{header font-size|1.25em}}}; | ||
Font-weight: {{{header font-weight|bold}}}; | Font-weight: {{{header font-weight|bold}}}; | ||
− | color:rgb({{{ | + | color:rgb({{{header font-color|background-color}}}); |
">{{{icon|[[File:Icon-usable.png|20px]]}}} {{{header|Header}}} | ">{{{icon|[[File:Icon-usable.png|20px]]}}} {{{header|Header}}} | ||
</div> | </div> | ||
<div class="zBody" | <div class="zBody" | ||
style=" | style=" | ||
− | + | border:{{{header border-width|2px}}} {{{header border-type|solid}}} rgba({{{header border-color|73,110,139}}},1); | |
− | "> | + | border-radius: {{{header border-radius|10px}}}; |
− | + | -moz-border-radius: {{{header border-radius|10px}}}; | |
+ | -webkit-border-radius: {{{header border-radius|10px}}}; | ||
+ | -khtml-border-radius: {{{header border-radius|10px}}}; | ||
+ | -icab-border-radius: {{{header border-radius|10px}}}; | ||
+ | -o-border-radius: {{{header border-radius|10px}}}; | ||
+ | padding:{{{header padding|5px}}}; | ||
+ | background-color: rgba({{{background-color|17,66,85}}},1); | ||
+ | color:rgb({{{body font-color|background-color}}}); | ||
+ | "><div class="ZBodyContents" | ||
+ | style=" | ||
+ | border:{{{header border-width|2px}}} {{{header border-type|solid}}} rgba({{{header border-color|73,110,139}}},0); | ||
+ | border-radius: {{{header border-radius|5px}}}; | ||
+ | -moz-border-radius: {{{header border-radius|5px}}}; | ||
+ | -webkit-border-radius: {{{header border-radius|5px}}}; | ||
+ | -khtml-border-radius: {{{header border-radius|5px}}}; | ||
+ | -icab-border-radius: {{{header border-radius|5px}}}; | ||
+ | -o-border-radius: {{{header border-radius|5px}}}; | ||
+ | padding:{{{header padding|5px}}}; | ||
+ | background-color: rgba({{{background-color|199,219,234}}},1); | ||
+ | color:rgb({{{body font-color|background-color}}}); | ||
+ | ">{{{body|Body}}} | ||
+ | </div> | ||
</div> | </div> | ||
</div><noinclude> | </div><noinclude> |
Revision as of 04:06, 5 December 2011
Documentation
Usage
-
optimized for firefox.
Suggested to be used in conjuncture with other zetta"©" elements
Parameters
- margin
- border-width
- border-type
- border-color
- border-radius
- background-color
- fade
- header border-width
- header border-type
- header border-color
- header border-radius
- header padding
- header background-color
- header font-size
- header font-weight
- icon
- header
- padding
- body
Copy Paste
{{User:TheTric/zContainer | border-color = | background-color = | header border-color = | header background-color = | header = | body = }}
Acknowledgements
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this page. |