Alathra:Navcard: Difference between revisions

mNo edit summary
Second major commit
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
<noinclude>__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
   #link-overlay {
   #link-overlay {
     height: {{{height|180px}}};
     height: {{{height|180px}}};
     width: {{{width|200px}}};
     width: {{{width|200px}}};
     border: solid;
     border: solid;
     border: yellow;
     overflow: hidden;
   }
   }
 
  #overlay img {
    position: absolute;
    height: {{{height|180px}}};
    width: {{{width|200px}}};
  }
 
   #container {
   #container {
     height: 100%;
     height: 100%;
     width: 100%;
     width: auto;
    border: solid;
    border-color: red;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
Line 18: Line 23:
     height: 75%;
     height: 75%;
     width: auto;
     width: auto;
    border: solid;
    border-color: yellow;
   }
   }
    
    
   #img-container img {
   #img-container img {
     height: 100%;
     height: 100%;
     width: auto;
     width: {{{width|200px}}};
     object-fit: cover;
     object-fit: cover;
   }
   }
Line 32: Line 35:
     min-height: 20px;
     min-height: 20px;
     width: auto;
     width: auto;
     border: solid;
     text-align: center;
     border-color: blue;
     font-size: 24px;
    margin: auto;
   }
   }
}}
}}</noinclude>
<div id="link-overlay"><div id="container"><div id="img-container">[[File:Stillwindsclimate.jpg|link=]]</div><div id="title"></div></div></div>
<div id="link-overlay"><div id="overlay">[[File:Invisible-png.png|{{{width|200}}}x{{{height|180px}}}|link={{{link|}}}]]</div><div id="container"><div id="img-container">[[File:Stillwindsclimate.jpg|link=]]</div><div id="title">{{{text|Category}}}</div></div></div>