Template:Banner: Difference between revisions

Jump to navigation Jump to search
Add min-width to logo column in an attempt to fix breakage on small screen widths.
No edit summary
(Add min-width to logo column in an attempt to fix breakage on small screen widths.)
Line 1: Line 1:
<div style="height: 50px; background-color: {{{bgcolor|#CCC}}}; color: {{{color|black}}}; font-size: 90%; font-weight: bold;">
<div style="height: 50px; background-color: {{{bgcolor|#CCC}}}; color: {{{color|black}}}; font-size: 90%; font-weight: bold;">
<div style="float: left; width: 33.333%;">{{#if:{{{logo|}}}|[[File:{{{logo}}}]]|<span style="display: inline-block; width: 333px; height: 50px;">&nbsp;</span>}}</div>
<div style="float: left; width: 33.333%; min-width: 333px;">{{#if:{{{logo|}}}|[[File:{{{logo}}}]]|<span style="display: inline-block; width: 333px; height: 50px;">&nbsp;</span>}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#if:{{{product|}}}|{{{product}}}{{#if:{{{version|}}}|&nbsp;{{{version}}}|}}<br />|}}{{#if:{{{gecko|}}}|Based on Gecko&nbsp;{{{gecko}}}<br />|}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}Moves to {{{next_channel|another}}} {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}|week of {{{merge_week}}}|next}}}}}}</div>
<div style="float: left; width: 33.333%; padding: 5px 0px 0px 0px;">{{#ifeq:{{{type|merge}}}|release|Released on {{{release_date}}}|{{#if:{{{current_channel|}}}|Currently in {{{current_channel}}} channel<br />|}}Moves to {{{next_channel|another}}} {{#if:{{{merge_date|}}}|on {{{merge_date}}}|{{#if:{{{merge_week|}}}|week of {{{merge_week}}}|next}}}}}}</div>
</div>
</div>
canmove, Confirmed users, Bureaucrats and Sysops emeriti
960

edits

Navigation menu