Template:Deadlock Wiki/Header: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) added link to help page, formatting |
Changed styling |
||
| Line 1: | Line 1: | ||
<div style="position: relative; | <!-- Hero / Header Panel --> | ||
<div style="position: | <div style=" | ||
position:relative; | |||
overflow:hidden; | |||
border-radius:12px; | |||
background:linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); | |||
box-shadow:0 4px 16px rgba(0,0,0,0.4); | |||
height:100%; | |||
< | "> | ||
<div class="hero-container" style=" | |||
position:relative; | |||
width:100%; | |||
display:flex; | |||
flex-direction:column; | |||
height:100%; | |||
"> | |||
<!-- Top row: Logo left + Text right --> | |||
<div style=" | |||
display:flex; | |||
align-items:center; | |||
flex:1; | |||
padding:1em; | |||
gap:1.5em; | |||
"> | |||
<!-- Logo (left) --> | |||
<div class="nomobile" style="flex-shrink:0;"> | |||
[[File:Deadlock Wiki.png|frameless|250px|alt=Deadlock Wiki|link=Deadlock{{if_lang}}]] | |||
</div> | </div> | ||
<div class="header- | |||
<div style="font- | <!-- Intro text (right of logo) --> | ||
< | <div class="header-intro" style="flex:1; min-width:0;"> | ||
<div style="color:white; font-family:'Retail Demo','Open Sans',sans-serif;"> | |||
</ | |||
<div style="color:white; margin:0.3em 0;"><span style="font-size:1.8em; font-family:'Valve Occult','Retail Demo','Open Sans'; font-weight:bold;">{{#invoke:Dictionary|translate|WikiHeaderPart1}} <b>[[Deadlock{{if_lang}}|<span style="color:#e8be86; font-family:'Valve Occult','Retail Demo'; font-weight:bold;">Deadlock</span>]]</b> Wiki! </span></div> | |||
<p style="font-size:1.2em; line-height:1.6; margin:0.6em 0;"> | |||
{{#invoke:Dictionary|translate|WikiHeaderPart2}} | |||
<b>[[Deadlock{{if_lang}}|<span style="color:#e8be86; font-family:'Valve Occult','Retail Demo','Open Sans'; font-weight:bold;">Deadlock</span>]]</b> | |||
{{#invoke:Dictionary|translate|WikiHeaderPart3}} | |||
{{NUMBEROFARTICLES}} | |||
{{#invoke:Dictionary|translate|WikiHeaderPart4}} | |||
</p> | |||
<p style="font-size:1.15em; margin:0.8em 0 0.4em 0;"> | |||
[[Help:Getting_Started|<span style="color:#e8be86; text-decoration:underline;">'''Learn how to edit'''</span>]] | |||
• | |||
[[Deadlock#Invites|<span style="color:#e8be86; text-decoration:underline;">'''Join the playtest!'''</span>]] | |||
</p> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Stats Bar (bottom) --> | |||
<div class="header-stats" style=" | |||
display:block; | |||
background:rgba(0,0,0,0.25); | |||
border-radius:0 0 8px 8px; | |||
margin:0; | |||
padding:8px 12px; | |||
"> | |||
<div style=" | |||
font-size:1em; | |||
text-align:center; | |||
color:rgba(255,255,255,0.85); | |||
font-family:'Retail Demo','Open Sans',serif; | |||
"> | |||
<ul style="margin:0; padding:0; list-style:none;"> | |||
<li> | |||
{{#invoke:Dictionary|translate|Number of articles}}: '''{{NUMBEROFARTICLES}}''' • | |||
{{#invoke:Dictionary|translate|Number of files}}: '''{{NUMBEROFFILES}}''' • | |||
{{#invoke:Dictionary|translate|Number of active editors}}: '''{{NUMBEROFACTIVEUSERS}}''' • | |||
{{#invoke:Dictionary|translate|Number of edits}}: '''{{NUMBEROFEDITS}}''' | |||
</li> | |||
</ul> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||