Jump to content

Template:Navcard: Difference between revisions

Undo
Tag: Manual revert
m CSS test
Tag: Reverted
Line 1: Line 1:
__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
   #link-overlay {
   #link-overlay {
     height: {{{height|180}}}px;
     height: 180px;
     width: {{{width|200}}}px;
     width: 200px;
     border: solid;
     border: solid;
     overflow: hidden;
     overflow: hidden;
Line 25: Line 25:
   #img-container img {
   #img-container img {
     height: 100%;
     height: 100%;
     width: {{{width|200}}}px;
     width: 200px;
     object-fit: cover;
     object-fit: cover;
   }
   }
Line 38: Line 38:
   }
   }
}}
}}
<div id="link-overlay"><div id="overlay">[[File:Invisible-png.png|{{{width|200}}}x{{{height|180}}}px|link={{{link|}}}]]</div><div id="container"><div id="img-container">[[File:Stillwindsclimate.jpg|link=]]</div><div id="title">{{{text|Category}}}</div></div></div>
<div id="link-overlay"><div id="overlay">[[File:Invisible-png.png|200x180px|link={{{link|}}}]]</div><div id="container"><div id="img-container">[[File:Stillwindsclimate.jpg|link=]]</div><div id="title">{{{text|Category}}}</div></div></div>

Revision as of 15:33, 3 May 2025