Template:Helpbox: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus m →top: headingstyle (padding-bottom to match padding-top), reduced code's whitespace, removed semicolon in case duplicated (style) |
meta>Sardanaphalus padding-left/right for title/headingstyle in case title or a heading is template's widest element |
||
Line 5: | Line 5: | ||
| style = width:auto;background:#f5faff;font-size:90%;line-height:1.6em; {{#if:{{{1|}}} |{{{1}}} }} | | style = width:auto;background:#f5faff;font-size:90%;line-height:1.6em; {{#if:{{{1|}}} |{{{1}}} }} | ||
| basestyle = background:#cee0f2; | | basestyle = background:#cee0f2; | ||
| titlestyle = font-size:130%; display:block;margin-bottom:6px; {{{titlestyle|}}} | | titlestyle = font-size:130%;padding-left:0.2em;padding-right:0.2em; <!--(gap before first heading/content:)-->display:block;margin-bottom:6px; {{{titlestyle|}}} | ||
| title = {{{title|{{{name|}}}}}} | | title = {{{title|{{{name|}}}}}} | ||
| headingstyle = padding | | headingstyle = padding:0.1em 0.25em 0.15em;{{{headingstyle|}}} | ||
| contentstyle = padding-top:0.15em; | | contentstyle = padding-top:0.15em; | ||