Template:Deadlock Wiki/Header: Difference between revisions
Jump to navigation
Jump to search
added background. removed includeonly tags. hopefuly will work this time |
serif as a fallback |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<div style="position: relative; width: 100%; overflow: hidden; border-radius: 15px; background-color: black;"> | <div style="position: relative; width: 100%; overflow: hidden; border-radius: 15px; background-color: black; max-width: 1240px"> | ||
<div style=""> | <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;"> | ||
[[File:Deadlock_steampage_hero.jpeg|alt=wiki hero|frameless|1240px|center|link=]] | [[File:Deadlock_steampage_hero.jpeg|alt=wiki hero|frameless|1240px|center|link=]] | ||
</div> | </div> | ||
<div class="mainpage-header" style="position: | <!-- Text and other content --> | ||
[[File:Deadlock Wiki.png|alt=wiki logo|frameless|356x356px|center|link= | <div class="mainpage-header" style="position:relative; top:0; left:50%; transform: translateX(-50%); width:100%;"> | ||
<div class="header-intro"> | [[File:Deadlock Wiki.png|alt=wiki logo|frameless|356x356px|center|link=]] | ||
<div style="text-align:center; color: white;"> | <div class="header-intro"> | ||
<div style="text-align:center; color: white; font-family:'Retail Demo',serif; padding:0.8em; "> | |||
<h1 style="color: white;"><span style="font-family: 'Forevs Demo',serif; font-weight:bold;">Welcome to the Deadlock Wiki!</span></h1> | |||
</div> | <p style="font-size:1.3em;">The player-written resource for <b>Deadlock</b> that anyone can edit, with {{NUMBEROFARTICLES}} articles and counting.</p> | ||
<div class="header-stats" style="display:block"> | </div> | ||
<div style="margin:4px; padding:6px 0 0 0; text-align:center; flex-basis: 1080px; color: white;"> | <div class="header-stats" style="display:block"> | ||
<div style="font-size:1.15em;margin:4px; padding:6px 0 0 0; text-align:center; flex-basis: 1080px; color: white; font-family: 'Retail Demo',serif;"> | |||
<ul> | |||
<li>Number of articles: '''{{NUMBEROFARTICLES}}''' • Number of files: '''{{NUMBEROFFILES}}''' • Number of active editors: '''{{NUMBEROFACTIVEUSERS}}''' • Number of edits: '''{{NUMBEROFEDITS}}'''</li> | |||
</div></div> | </ul> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | |||
</div> | |||
</div> | </div> |