Alathra:Navcard: Difference between revisions

m CSS test
m CSS test
Line 8: Line 8:
     flex-direction: column;
     flex-direction: column;
   }
   }
   #img {
   #img-container {
     height: 75%;
     height: 75%;
     width: auto;
     width: auto;
Line 14: Line 14:
     border-color: yellow;
     border-color: yellow;
   }
   }
 
  #img {
    height: 100%;
    width: 100%;
  }
 
   #title {
   #title {
     height: 25%;
     height: 25%;
Line 20: Line 26:
     border: solid;
     border: solid;
     border-color: blue;
     border-color: blue;
  }
 
  .thumbnail {
    width: 200px;
    height: 200px;
    object-fit: cover;
   }
   }
}}
}}
<div id="container"><div id="img"><span class=thumbnail>{{{thumbnail|[[File:Wiki Workdesk.png]]}}}</span></div><div id="title"></div></div>
<div id="container"><div id="img-container"><div id="img">[[File:Wiki Workdesk.png]]</div></div><div id="title"></div></div>