MediaWiki:Minerva.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→All CSS here will be loaded for users of the MinervaNeue skin: →* * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates. * * See [[MediaWiki:Vector.css]] for desktop theme related styles. * See [[MediaWiki:Vector-darkmode.css]] for desktop dark theme related styles. * * See [[MediaWiki:Minerva-darkmode.css]] for mobile dark theme related styles.: →Default styles [[File:Mobile-header.png]]: :root { --mobile-header-background: u...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Try to use nearest neighbour scaling for pixelated images */ | /* Try to use nearest neighbour scaling for pixelated images */ | ||
.mcwiki-header-grass, | |||
.ns-special .gallerybox img, | |||
.ns-14 .gallerybox img, | |||
.filehistory a img, | |||
.pixel-image, | .pixel-image, | ||
.invslot-item-image, | .invslot-item-image, | ||
Line 279: | Line 15: | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
-ms-interpolation-mode: nearest-neighbor; | -ms-interpolation-mode: nearest-neighbor; | ||
} | } |
Latest revision as of 22:11, 4 November 2024
/* Try to use nearest neighbour scaling for pixelated images */
.mcwiki-header-grass,
.ns-special .gallerybox img,
.ns-14 .gallerybox img,
.filehistory a img,
.pixel-image,
.invslot-item-image,
.sprite {
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}