MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:


/* Infobox images: remove padding and make images fill the infobox width */
/* Infobox images: remove padding and make images fill the infobox width */
.infobox td.infobox-image {
.infobox td.infobox-image { padding: 0; }
   padding: 0;
 
.infobox td.infobox-image .thumb,
.infobox td.infobox-image .thumbinner {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
   padding: 0 !important;
}
}


.infobox td.infobox-image .infobox-img-full {
.infobox td.infobox-image img {
   width: 100%;
   width: 100% !important;
   height: auto;
   height: auto !important;
   display: block;
   display: block;
}
}