mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-14 18:15:49 +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,
|
||||
body {
|
||||
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-smoothing: antialiased;
|
||||
// -webkit-font-smoothing: antialiased; /* Chrome, Safari */
|
||||
// -moz-osx-font-smoothing: grayscale; /* Firefox */
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
Loading…
Reference in a new issue