MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
mNo edit summary
Line 20: Line 20:
.pixelart-img {
.pixelart-img {
   image-rendering: pixelated;
   image-rendering: pixelated;
   image-rendering: crisp-edges;
   width: calc(1em * 9); /* om 1em = 16px => 144px */
   transform: scale(9);
   height: calc(1em * 9);
  transform-origin: top left;
   display: block;
   display: block;
}
}

Revision as of 12:00, 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-box {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #241319;
}

.pixelart-img {
  image-rendering: pixelated;
  width: calc(1em * 9); /* om 1em = 16px => 144px */
  height: calc(1em * 9);
  display: block;
}