mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
feat(core): ✨ do not synthesize font styles through browser
This commit is contained in:
parent
33421ea030
commit
907206854b
|
@ -5,10 +5,13 @@ html {
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
font-family: var( --font-family-base );
|
font-family: var( --font-family-base );
|
||||||
|
/*
|
||||||
|
* 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;
|
||||||
font-weight: var( --font-weight-normal );
|
font-weight: var( --font-weight-normal );
|
||||||
// font-smoothing: antialiased;
|
|
||||||
// -webkit-font-smoothing: antialiased; /* Chrome, Safari */
|
|
||||||
// -moz-osx-font-smoothing: grayscale; /* Firefox */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|
Loading…
Reference in a new issue