Template:Tag: Difference between revisions

From Step Mods | Change The Game
(uploaded with x-external-editor)
(uploaded with x-external-editor)
Line 38: Line 38:
float: left;
float: left;
padding: 0 2px;
padding: 0 2px;
line-height: 1.5em;
line-height: 1.4em;
}
}
.tag span {
.tag span {

Revision as of 07:31, January 2, 2013

{{Tag|tag|width|bgcolor|border color|left bgcolor|text|text color}}
{{Tag|tag|width|text|enable}}
tag = doc, content, step
text = Text in right portion
enable = blank for enable, - for disable


{{#css: .tag { margin: 0; padding: 0; height: 18px; border: 1px solid #2B2B2B; } .tag.disable { opacity: 0.5; } .tagicon { float: left; width: 20px; height: 18px; text-align: center; border-right: 1px solid #2B2B2B; } .tagtext { float: left; padding: 0 2px; line-height: 1.4em; } .tag span { font-weight: bold; padding: 0; margin: 0; } }}