Difference between revisions of "Template:Version links/0"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (classes)
(add bottom margin)
 
Line 1: Line 1:
<table class="version-table" style="text-align: center; margin: 0 auto; padding: 0.25em; {{#if:{{{r1|}}}{{{r2|}}}||padding-top:1em;}} {{border radius|3px}}; border: 2px solid {{{bordercolor|{{icolor|gray|border}}}}}; background: {{{background|{{icolor|gray|background}}}}}; min-width:27em"><tr><td style="padding: 0.3em 0.3em; width: 100%;">{{#if:{{{r1|}}}|<div style="margin-bottom:6px;" class="version-links-r1"><span style="font-size:100%">{{{r1}}}</span></div>}}<span>{{{center}}}</span><br>
+
<table class="version-table" style="text-align: center; margin: 0 auto 5px; padding: 0.25em; {{#if:{{{r1|}}}{{{r2|}}}||padding-top:1em;}} {{border radius|3px}}; border: 2px solid {{{bordercolor|{{icolor|gray|border}}}}}; background: {{{background|{{icolor|gray|background}}}}}; min-width:27em"><tr><td style="padding: 0.3em 0.3em; width: 100%;">{{#if:{{{r1|}}}|<div style="margin-bottom:6px;" class="version-links-r1"><span style="font-size:100%">{{{r1}}}</span></div>}}<span>{{{center}}}</span><br>
 
{{#if:{{{r1|}}}|{{#if:{{{r2|}}}|<div style="margin:.5em 3px;{{border radius|1px}} border: 1px solid {{{dividercolor|{{{bordercolor|{{icolor|gray|border}}}}}}}};"></div>}}}}{{#if:{{{r2|}}}|<div class="version-links-r2">{{#if:{{{r1|}}}||<div style="min-height:6px;" class="version-links-divider"> </div>}}{{{r2}}}</div>}}
 
{{#if:{{{r1|}}}|{{#if:{{{r2|}}}|<div style="margin:.5em 3px;{{border radius|1px}} border: 1px solid {{{dividercolor|{{{bordercolor|{{icolor|gray|border}}}}}}}};"></div>}}}}{{#if:{{{r2|}}}|<div class="version-links-r2">{{#if:{{{r1|}}}||<div style="min-height:6px;" class="version-links-divider"> </div>}}{{{r2}}}</div>}}
 
<div style="float: right; font-size:75%; padding-right:2px; margin-top:-2px; margin-bottom:-7px;">{{{bottom|&nbsp;}}}</div></td></tr>
 
<div style="float: right; font-size:75%; padding-right:2px; margin-top:-2px; margin-bottom:-7px;">{{{bottom|&nbsp;}}}</div></td></tr>
 
</table>
 
</table>

Latest revision as of 02:21, 28 December 2019

{{{center}}}