MediaWiki:Common.css: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
No edit summary
Line 7: Line 7:
     display: block;
     display: block;
   }
   }
}
/* Box för pixelart */
.pixelart-box {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #241319;
  overflow: hidden;
}
/* Bild i pixelstil */
.pixelart-img {
  image-rendering: pixelated;
  width: calc(1em * 9);  /* Skala 9x baserat på 1em (typ 144px om 16px base) */
  height: calc(1em * 9);
  display: block;
  margin: 0;
  background: transparent;
  border: none;
}
/* Neutralisera MediaWikis <a>-tagg runt bilden */
.pixelart-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.pixelart-box a img {
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  display: block;
}
}

Revision as of 19:13, 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;
  }
}