MediaWiki:Vector.css

From zoywiki.com
Revision as of 22:12, 14 May 2014 by Zoycite (talk | contribs) (Created page with "→‎CSS placed here will affect users of the Vector skin: →‎* Typograhy refresh: →‎Test new Helvetica-based body font stack: html, body { font-family: "Nimbus Sans...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Vector skin */

/*
 * Typograhy refresh
 */

/* Test new Helvetica-based body font stack */
html,
body {
	font-family: "Nimbus Sans L", "Helvetica Neue", Arial, Helvetica, sans-serif;
}
 
/* Force lining numbers in headers (for fonts like Georgia) */
div#content h1,
div#content h2,
div#content #firstHeading {
	-moz-font-feature-settings: "lnum";
	-webkit-font-feature-settings: "lnum";
	font-feature-settings: "lnum";
}

/* Fix top margin for H1 in content */
div#content h1 {
	margin-top: 1em;
}
div#content #firstHeading {
	margin-top: 0;
}