MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:
  */
  */


/* Display size (independent from thumb size) */
/* Common: keep aspect ratio, don't let max-width rules interfere */
img.ib-flag {  
table.infobox.ib-country .infobox-image img{
  width: 125px !important;
   height: auto !important;
   height: auto !important;
   max-width: none !important;
   max-width: none !important;
}
}


img.ib-seal {
/* Flag block (your div:nth-child(1)) */
   width: 85px !important;
table.infobox.ib-country .infobox-image > div:nth-child(1) img{
  height: auto !important;
   width: 125px !important;
   max-width: none !important;
}
 
/* Coat of arms block (your div:nth-child(2)) */
table.infobox.ib-country .infobox-image > div:nth-child(2) img{
   width: 85px !important; /* change to whatever you want */
}
}