MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
mNo edit summary
Line 6: Line 6:
     margin: 0 auto 1em auto !important;
     margin: 0 auto 1em auto !important;
     display: block;
     display: block;
     width: 270px !important; /* Ny rad: skala ner infoboxen */
     width: 270px !important;
   }
   }


   .infobox-item img {
   .infobox-sprite {
     width: 90px !important;
     width: 72px !important;
     height: 90px !important; /* Ny block: skala ner bilderna */
     height: 72px !important;
   }
   }



Revision as of 23:12, 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;
  }
}