MediaWiki:Common.less/mixins.less: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Less mixins to be used from any skin.: // for HiDPI screens; otherwise icons appear blurry .pixelate() { @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { image-rendering: -moz-crisp-edges; // firefox doesn't support unprefixed image-rendering: pixelated; // chrome only supports this value image-rendering: crisp-edges; // this is what should be used; only safari supports it } }") |
(No difference)
|
Latest revision as of 11:44, 4 October 2022
/*
Less mixins to be used from any skin.
- /
// for HiDPI screens; otherwise icons appear blurry .pixelate() {
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { image-rendering: -moz-crisp-edges; // firefox doesn't support unprefixed image-rendering: pixelated; // chrome only supports this value image-rendering: crisp-edges; // this is what should be used; only safari supports it }
}