User:MarkGyver/common.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin can be added at User:MarkGyver/common.js. |
/* Import Dotsies custom CSS to use the font here. This is
* http://dotsies.org/web-font.html's directions modified to use @import.
*
* NOTE: THIS IS INSECURE! Arbitrary CSS could be inserted by an attacker
* intercepting the unsecured connection to dotsies.org.
*/
/*@import url(http://dotsies.org/dotsies.css);*/
/* Apply Dotsies globally. */
html, body, #globalWrapper {
/*font-family: "Dotsies";*/
/* How can I kludge around Wikipedia's 0.85em to make the per-element-type
* "font-size:" declarations work accurately? */
/*font-size: 1.176em;*/
}
/* Set custom font sizes for everything, based on
* https://en.wikipedia.org/wiki/Help:User_style#Print_view_tweaks.
* This is changed to use ideal sizes for Dotsies. In particular, sizes are
* larger to make it easier to read an unfamiliar font, and sizes are chosen
* to have integer numbers of pixels in each Dotsies "dot" when displayed on a
* 96 DPI screen. Ideal Dotsies font sizes are 4.5 (1 pixel-per-dot), 9.5 (2x2
* pixels per dot), 14 (3x3), 19 (4x4), 24 (5x5), and 28.5 (6x6), after which
* gradual font size changes stop looking bad to me.
*/
body { font-size: 14px }
h1 { font-size: 33.5px }
h2 { font-size: 28.5px }
h3 { font-size: 24px }
h4 { font-size: 19px }
h5 { font-size: 14px }
h6 { font-size: 14px }