MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@media screen and (max-width: 767px) {
@media screen and (max-width: 1279px) {
   .infobox-item {
   .infobox-item {
     float: none !important;
     float: none !important;
Line 6: Line 6:
     margin: 0 auto 1em auto !important;
     margin: 0 auto 1em auto !important;
     display: block;
     display: block;
     width: 90% !important;
     width: 270px !important;
    max-width: 270px !important;
  }
 
  .infobox-item td,
  .infobox-item th {
    font-size: 85% !important;
    padding: 2px !important;
   }
   }


Line 19: Line 12:
     width: 72px !important;
     width: 72px !important;
     height: 72px !important;
     height: 72px !important;
  }
  .infobox-item td,
  .infobox-item th {
    font-size: 85%;
    padding: 2px;
   }
   }
}
}

Revision as of 23:23, 31 July 2025

/* CSS placed here will be applied to all skins */
@media screen and (max-width: 1279px) {
  .infobox-item {
    float: none !important;
    clear: both !important;
    margin: 0 auto 1em auto !important;
    display: block;
    width: 270px !important;
  }

  .infobox-sprite {
    width: 72px !important;
    height: 72px !important;
  }

  .infobox-item td,
  .infobox-item th {
    font-size: 85%;
    padding: 2px;
  }
}