Template:Nmbox: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
probably doesn't need nowrap
tweak styles further, use color palette
Line 1: Line 1:
<table class="nmbox" style="border:1px solid #aaaaaa; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<table class="nmbox" style="border:1px solid #a2a9b1; border-collapse:collapse; clear:both; font-size:85%; margin:0.25em 0;">
<tr style="background: #d8d8d8">
<tr style="background: #eaecf0">
{{#if:{{{image|}}}{{{header|}}}
{{#if:{{{image|}}}{{{header|}}}
| <th class="mbox-image" style="padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
| <th class="mbox-image" style="padding: 4px 8px; border-right: 1px solid #a2a9b1;">{{{image|}}} {{{header|}}}</th>
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
}}
}}

Revision as of 18:50, 3 November 2017