MediaWiki:Vector.css: Difference between revisions

From Raythe Wiki
(Created page with "→‎* Typograhy refresh: →‎Test new Helvetica-based body font stack: html, body { font-family: "Nimbus Sans L", "Helvetica Neue", Arial, Helvetica, sans-serif; } /*...")
(No difference)

Revision as of 05:19, 5 August 2014

/*
 * 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;
}