Difference between revisions of "MediaWiki:Common.css"

From RetroMMO Wiki
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
@font-face{
 
font-family:RetroPixels;
 
src:url(https://wiki.retro-mmo.com/w/images/c/c1/RetroPixels.ttf) format("truetype")
 
}
 
  
 
body {
 
body {
font-family: RetroPixels;
+
image-rendering: optimizeSpeed;
font-size: 2em;
+
image-rendering: -moz-crisp-edges; // FF 6.0+
}
+
image-rendering: -webkit-optimize-contrast; // Safari
 
+
image-rendering: -o-crisp-edges; // OS X & Windows Opera (12.02+)
body, .mw-body, .parsoid-body {
+
image-rendering: pixelated; // awesome future browsers
background-color: black;
+
-ms-interpolation-mode: nearest-neighbor; // IE
color: white;
 
 
}
 
}

Revision as of 06:40, 4 April 2021

/* CSS placed here will be applied to all skins */

body {
image-rendering: optimizeSpeed;
image-rendering: -moz-crisp-edges; // FF 6.0+
image-rendering: -webkit-optimize-contrast; // Safari
image-rendering: -o-crisp-edges; // OS X & Windows Opera (12.02+)
image-rendering: pixelated; // awesome future browsers
-ms-interpolation-mode: nearest-neighbor; // IE
}