Template:Math/styles.css: Difference between revisions

From Research Realm
(Created page with "→‎{{pp|small=yes}} * See [[Template:Math#Notes]] for why this is named .texhtml: .texhtml { font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; font-size: 118%; line-height: 1; white-space: nowrap; →‎font-variant-numeric, font-kerning actually supported, CodeEditor just doesn't like them: font-variant-numeric: lining-nums tabular-nums; font-kerning: none; } .texhtml .texhtml { font-size: 100%; } .texhtml-big { font-size: 165%; } .mva...")
 
No edit summary
Line 2: Line 2:
  * See [[Template:Math#Notes]] for why this is named .texhtml
  * See [[Template:Math#Notes]] for why this is named .texhtml
  */
  */
/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
span.texhtml span.texhtml {
font-size: 100%;
}
.texhtml {
.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;

Revision as of 05:38, 6 August 2023

/* {{pp|small=yes}}
 * See [[Template:Math#Notes]] for why this is named .texhtml
 */
 
 /* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	white-space: nowrap;
	/* Force tabular and lining display for texhtml */
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

span.texhtml span.texhtml {
	font-size: 100%;
}
 
.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	white-space: nowrap;
	
	/* font-variant-numeric, font-kerning actually supported, CodeEditor just doesn't like them */
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

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

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

.mvar {
	font-style: italic;
}