MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
Tag: Reverted
mNo edit summary
Tags: Manual revert Reverted
Line 16: Line 16:
   justify-content: center;
   justify-content: center;
   background-color: #241319;
   background-color: #241319;
  overflow: hidden;
}
}


.pixelart-img {
.pixelart-img {
   image-rendering: pixelated;
   image-rendering: pixelated;
   width: 144px; /* = 16px * 9 (uppskalning x9) */
   image-rendering: crisp-edges;
   height: 144px;
  transform: scale(9);
   transform-origin: top left;
   display: block;
   display: block;
}
}

Revision as of 13:06, 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;
  image-rendering: crisp-edges;
  transform: scale(9);
  transform-origin: top left;
  display: block;
}