Template:Helpbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
padding-left/right for title/headingstyle in case title or a heading is template's widest element
meta>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.2em;padding-right:0.2em; <!--(gap before first heading/content:)-->display:block;margin-bottom:6px; {{{titlestyle|}}}
| 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|}}}

Revision as of 18:05, 7 August 2014