Difference between revisions of "Template:Math/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>Izno
(poke)
imported>Izno
(add -big)
Line 24: Line 24:
 
.texhtml .texhtml {
 
.texhtml .texhtml {
 
font-size: 100%;
 
font-size: 100%;
 +
}
 +
 +
.texhtml-big {
 +
font-size: 165%;
 
}
 
}

Revision as of 06:15, 28 January 2021

/* {{pp|small=yes}} */
.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	white-space: nowrap;
	/*
	TemplateStyles does not support vendor-specific parameters.
	However, prior research shows WMF serves only about 1-2% of its traffic
	to browsers needing vendor-specific font-feature-settings.
	*/
	/*
	-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
	-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
	*/
	
	/* font-feature-settings, font-variant-numeric, font-kerning actually
	 * supported. CodeEditor just doesn't like them */
	font-feature-settings: "lnum", "tnum", "kern" 0;
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

.texhtml .texhtml {
	font-size: 100%;
}

.texhtml-big {
	font-size: 165%;
}