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 43: | Line 43: | ||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | |||
.infobox-item tr:first-child td { | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: none !important; | |||
} | |||
.infobox-item .pixelart-box { | |||
background-color: #241319 !important; | |||
box-sizing: border-box; | |||
} | |||
.infobox-item .pixelart-box img { | |||
background: transparent !important; | |||
border: none !important; | |||
margin: 0 auto; | |||
} | } | ||
Revision as of 12:56, 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;
}
.infobox-item tr:first-child td {
padding: 0 !important;
background: transparent !important;
border: none !important;
}
.infobox-item .pixelart-box {
background-color: #241319 !important;
box-sizing: border-box;
}
.infobox-item .pixelart-box img {
background: transparent !important;
border: none !important;
margin: 0 auto;
}


