Template:Helpbox: Difference between revisions
m
title padding needs to be proportionally bigger (titlestyle)
w:en>Sardanaphalus (padding-left/right for title/headingstyle in case title or a heading is template's widest element) |
w:en>Sardanaphalus m (title padding needs to be proportionally bigger (titlestyle)) |
||
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%;padding-left:0. | | titlestyle = font-size:130%;padding-left:0.4em;padding-right:0.4em; <!--(gap before first heading/content:)-->display:block;margin-bottom:6px; {{{titlestyle|}}} | ||
| title = {{{title|{{{name|}}}}}} | | title = {{{title|{{{name|}}}}}} | ||
| headingstyle = padding:0.1em 0.25em 0.15em;{{{headingstyle|}}} | | headingstyle = padding:0.1em 0.25em 0.15em;{{{headingstyle|}}} |