Template:Nav Tile: Difference between revisions

LVL (talk | contribs)
Reverted back to May 1 version
Tag: Manual revert
m Make entire nav card clickable
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display: flex; flex-direction: column; gap: 2px;">
<div style="display: flex; flex-direction: column; gap: 2px;">
   <div class="nav-bg" style="flex: 1; min-height: 0; padding: 5px 0px 0px; border-top-left-radius: 8px; border-top-right-radius: 8px; display: flex; align-items: center; justify-content: center;">
   <div style="display: flex; flex-direction: column; gap: 2px; position: relative;">
    <div class="nav-bg" style="flex: 1; min-height: 0; padding: 5px 0px 0px; border-top-left-radius: 8px; border-top-right-radius: 8px; display: flex; align-items: center; justify-content: center;">
[[{{{1}}}|{{{size|140px}}}|center|link={{{3|{{{2}}}}}}|alt={{{1}}}]]
[[{{{1}}}|{{{size|140px}}}|center|link={{{3|{{{2}}}}}}|alt={{{1}}}]]
  </div>
    </div>
  <div class="nav-bg" style="flex-shrink: 0; text-align: center; font-size: 140%; font-weight: bold; font-family: 'Retail Demo', 'Open Sans', 'Copperplate Gothic', Constantia, 'PT Serif', 'Palatino', 'Georgia', serif; border-bottom-left-radius:8px; border-bottom-right-radius:8px;">
    <div class="nav-bg" style="flex-shrink: 0; text-align: center; font-size: 140%; font-weight: bold; font-family: 'Retail Demo', 'Open Sans', 'Copperplate Gothic', Constantia, 'PT Serif', 'Palatino', 'Georgia', serif; border-bottom-left-radius:8px; border-bottom-right-radius:8px;">
[[{{{3|{{{2}}}}}}|<span style="font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{{2}}}</span>]]
<span style="font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{{2}}}</span>
  </div>
    </div>
</div></includeonly>
    [[{{{3|{{{2}}}}}}|<span style="position: absolute; inset: 0; display: block;"></span>]]</div></div></includeonly>
<noinclude>
<noinclude>
   {{Nav Tile|Image:Hero_Nav.png|Heroes}}
   {{Nav Tile|Image:Hero_Nav.png|Heroes}}
</noinclude>
</noinclude>