mediawiki-skins-Citizen/resources/skins.citizen.styles/common/typography.less
alistair3149 65aff44e1c
Revert "feat(core): do not synthesize font styles through browser"
It is not ready for current usage yet, see #591
2023-02-16 23:30:14 -05:00

53 lines
837 B
Plaintext

html {
font-size: @html-font-size;
}
html,
body {
font-family: var( --font-family-base );
font-weight: var( --font-weight-normal );
/*
* TODO: Revisit this when italic VF is better supported
* Don't let browser faux font styles and weight
* 1. We are already using VF
* 2. Not all font styles apply to some languages (e.g. Italic is different in ZH)
*/
// font-synthesis: none;
}
input {
font-family: var( --font-family-base ); // Override browser's default
}
b,
strong {
font-weight: var( --font-weight-semibold );
}
cite {
font-style: inherit;
}
blockquote {
font-style: italic;
cite {
font-size: 0.8125rem;
font-style: normal;
}
}
sub,
sup {
font-size: 80%;
}
.mw-logo-wordmark {
font-weight: var( --font-weight-semibold );
}
.citizen-body,
.mw-body-content {
line-height: var( --line-height );
}