Template:Deadlock Wiki/Header: Difference between revisions
Jump to navigation
Jump to search
Fixed image not scaling height dynamically |
serif as a fallback |
||
(5 intermediate revisions by 4 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="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;"> | <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> | ||
<!-- Text and other content --> | <!-- Text and other content --> | ||
<div class="mainpage-header" style="position: relative; top:0; left:50%; transform: translateX(-50%); width: 100%;"> | <div class="mainpage-header" style="position:relative; top:0; left:50%; transform: translateX(-50%); width:100%;"> | ||
[[File:Deadlock Wiki.png|alt=wiki logo|frameless|356x356px|center|link=]] | [[File:Deadlock Wiki.png|alt=wiki logo|frameless|356x356px|center|link=]] | ||
<div class="header-intro"> | <div class="header-intro"> | ||
<div style="text-align:center; color: white;"> | <div style="text-align:center; color: white; font-family:'Retail Demo',serif; padding:0.8em; "> | ||
<h1 style="color: white;">Welcome to the Deadlock Wiki!</h1> | <h1 style="color: white;"><span style="font-family: 'Forevs Demo',serif; font-weight:bold;">Welcome to the Deadlock Wiki!</span></h1> | ||
<p>The player-written resource for <b>Deadlock</b> that anyone can edit, with {{NUMBEROFARTICLES}} articles and counting.</p> | <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> | </div> | ||
<div class="header-stats" style="display:block"> | <div class="header-stats" style="display:block"> | ||
<div style="margin:4px; padding:6px 0 0 0; text-align:center; flex-basis: 1080px; color: white;"> | <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> | <ul> | ||
<li>Number of articles: '''{{NUMBEROFARTICLES}}''' • Number of files: '''{{NUMBEROFFILES}}''' • Number of active editors: '''{{NUMBEROFACTIVEUSERS}}''' • Number of edits: '''{{NUMBEROFEDITS}}'''</li> | <li>Number of articles: '''{{NUMBEROFARTICLES}}''' • Number of files: '''{{NUMBEROFFILES}}''' • Number of active editors: '''{{NUMBEROFACTIVEUSERS}}''' • Number of edits: '''{{NUMBEROFEDITS}}'''</li> |