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 10: | Line 10: | ||
.pixelart-box { | .pixelart-box { | ||
background-color: #241319; | |||
width: 250px; | width: 250px; | ||
height: 250px; | height: 250px; | ||
| Line 15: | Line 16: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
background- | overflow: hidden; | ||
} | |||
.pixelart-box a { | |||
background: transparent !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
height: 100%; | |||
} | } | ||
.pixelart-img { | .pixelart-img { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
width: | width: 256px; | ||
height: | height: 256px; | ||
display: block; | display: block; | ||
margin: auto; | margin: auto; | ||
background: transparent !important; | |||
border: none !important; | |||
} | } | ||
Revision as of 12:37, 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 {
background-color: #241319;
width: 250px;
height: 250px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.pixelart-box a {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.pixelart-img {
image-rendering: pixelated;
width: 256px;
height: 256px;
display: block;
margin: auto;
background: transparent !important;
border: none !important;
}


