Difference between revisions of "Template:IBox"

From The Powder Toy
Jump to: navigation, search
m (moved Template:HBox to Template:IBox: Herp derp, I can't spell "I" correctly)
(Better style for information box)
 
Line 1: Line 1:
 
<table class="IBox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
 
<table class="IBox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<tr style="background: #E2E2F3">
+
<tr style="background: #F0F0F5">
 
{{#if:{{{image|}}}{{{header|}}}
 
{{#if:{{{image|}}}{{{header|}}}
 
| <th class="IBox-Image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
 
| <th class="IBox-Image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
 
| <td class="IBox-Empty-Cell"></td>
 
| <td class="IBox-Empty-Cell"></td>
 
}}
 
}}
<td class="IBox-Text" style="background: #F6F9ED;">{{{text|}}}</td>
+
<td class="IBox-Text" style="padding: 3px 8px; background: #FEFEFE;">{{{text|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Latest revision as of 00:43, 18 May 2012