MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
mNo edit summary
Line 10: Line 10:


.pixelart-x4 {
.pixelart-x4 {
  display: inline-block;
  overflow: hidden;
  width: fit-content;
}
.pixelart-x4 img {
   image-rendering: pixelated;
   image-rendering: pixelated;
   image-rendering: crisp-edges; /* Fallback */
   image-rendering: crisp-edges;
   transform: scale(4);
   width: calc(100% * 4);
   transform-origin: top left;
   height: auto;
   display: block;
   max-width: none;
}
}

Revision as of 06:33, 30 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;
  }
}

.pixelart-x4 {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  width: calc(100% * 4);
  height: auto;
  max-width: none;
}