Template:Math/styles.css
< Template:Math
Jump to navigation
Jump to search
Revision as of 18:21, 16 February 2021 by Wikipedia>Izno (implement mvar here too)
/* {{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;
/*
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%;
}
.mvar {
font-style: italic;
}