MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary |
HolyMormor (talk | contribs) mNo edit summary |
||
| Line 7: | Line 7: | ||
display: block; | display: block; | ||
} | } | ||
} | |||
.pixelart-x4 { | |||
width: fit-content; | |||
height: fit-content; | |||
display: inline-block; | |||
overflow: hidden; | |||
} | } | ||
.pixelart-x4 img { | .pixelart-x4 img { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
image-rendering: crisp-edges; /* | image-rendering: crisp-edges; /* fallback */ | ||
transform: scale(4); | transform: scale(4); | ||
transform-origin: top left; | transform-origin: top left; | ||
display: block; | display: block; | ||
} | } | ||
Revision as of 06:07, 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-x4 {
width: fit-content;
height: fit-content;
display: inline-block;
overflow: hidden;
}
.pixelart-x4 img {
image-rendering: pixelated;
image-rendering: crisp-edges; /* fallback */
transform: scale(4);
transform-origin: top left;
display: block;
}


