Difference between revisions of "Template:Header mega"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(option for short header)
(Removing padding)
Line 2: Line 2:
 
<div class="plainlinks" id="megaheader{{#ifeq:{{{short}}}|yes|-short|}}" style="position:relative; padding-bottom:1em; border:none; margin-top:-3em; margin-bottom:2em; margin-left:-28px; margin-right:-25px; overflow: hidden;">
 
<div class="plainlinks" id="megaheader{{#ifeq:{{{short}}}|yes|-short|}}" style="position:relative; padding-bottom:1em; border:none; margin-top:-3em; margin-bottom:2em; margin-left:-28px; margin-right:-25px; overflow: hidden;">
 
<h1 style="position:absolute; top:35px; left:30px; padding:10px; text-align:left; color:#FFF !important; letter-spacing:2px; z-index:100; line-height:1; font-weight:600; border-bottom:0; background-color:rgba(50,50,50,0.85);">{{{title}}}</h1>{{#if:{{{additional|}}}|
 
<h1 style="position:absolute; top:35px; left:30px; padding:10px; text-align:left; color:#FFF !important; letter-spacing:2px; z-index:100; line-height:1; font-weight:600; border-bottom:0; background-color:rgba(50,50,50,0.85);">{{{title}}}</h1>{{#if:{{{additional|}}}|
<div style="position:absolute; top:115px; left:30px; padding:10px; text-align:left; color:#FFF !important; z-index:100; line-height:1; font-weight:600; border-bottom:0;">
+
<div style="position:absolute; top:115px; left:30px; text-align:left; color:#FFF !important; z-index:100; line-height:1; font-weight:600; border-bottom:0;">
 
{{{additional|More content!}}}</div>}}
 
{{{additional|More content!}}}</div>}}
 
{{Image|file={{{file|Dido background.jpg}}}|width=1920px|percentage=100%|padding=no}}
 
{{Image|file={{{file|Dido background.jpg}}}|width=1920px|percentage=100%|padding=no}}

Revision as of 23:55, 10 April 2016