MediaWiki:Common.less/mixins.less

From Old School Near-Reality Wiki
< MediaWiki:Common.less
Revision as of 11:44, 4 October 2022 by Jacmob (talk | contribs) (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 } }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/*

 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 }

}