Template:Math/styles.css

From Wikisource
Jump to navigation Jump to search
/* texhtml class for inline math */
.wst-wikimath-texhtml {
	font-family: 'Nimbus Roman No9 L', 'Times New Roman', Times, serif;
	font-size: 118%;
	white-space: nowrap;
	/* Disable kerning, and enable tabular and lining display for digits.
	 * This causes most common fonts to display digits as if they were monospace.
	 * Code Editor is a little out of date
	 */
	font-feature-settings: "kern" 0, "lnum", "tnum";
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

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

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