MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary Tag: Reverted |
HolyMormor (talk | contribs) mNo edit summary Tag: Reverted |
||
| Line 9: | Line 9: | ||
} | } | ||
/* Bildboxen */ | |||
.pixelart-box { | .pixelart-box { | ||
background-color: #241319; | background-color: #241319; | ||
| Line 17: | Line 18: | ||
justify-content: center; | justify-content: center; | ||
overflow: hidden; | overflow: hidden; | ||
box-sizing: border-box; | |||
} | } | ||
/* Själva pixelbilden */ | |||
.pixelart-img { | .pixelart-img { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
| Line 29: | Line 32: | ||
} | } | ||
.infobox-item td { | /* Rensa bakgrund och padding från ALLA delar av infobox-tabellen */ | ||
.infobox-item, | |||
.infobox-item table, | |||
.infobox-item tr, | |||
.infobox-item td, | |||
.infobox-item th { | |||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
Revision as of 12:52, 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;
}
}
/* Bildboxen */
.pixelart-box {
background-color: #241319;
width: 250px;
height: 250px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
box-sizing: border-box;
}
/* Själva pixelbilden */
.pixelart-img {
image-rendering: pixelated;
width: 256px;
height: 256px;
display: block;
margin: 0 auto;
background: transparent;
border: none;
}
/* Rensa bakgrund och padding från ALLA delar av infobox-tabellen */
.infobox-item,
.infobox-item table,
.infobox-item tr,
.infobox-item td,
.infobox-item th {
padding: 0 !important;
margin: 0 !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}


