mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
feat(core): ✨ proper em handling for CJK languages
This commit is contained in:
parent
b9a524bab4
commit
6dd0f09aca
|
@ -43,6 +43,27 @@ sup {
|
|||
font-size: 80%;
|
||||
}
|
||||
|
||||
em {
|
||||
:lang( ja ) &,
|
||||
:lang( ko ) &,
|
||||
:lang( mn ) &,
|
||||
:lang( zh ) & {
|
||||
/* CJK languages do not use italics for emphasis */
|
||||
font-style: normal;
|
||||
text-emphasis: filled;
|
||||
}
|
||||
|
||||
:lang( ja ) &,
|
||||
:lang( ko ) &,
|
||||
:lang( mn ) & {
|
||||
text-emphasis-position: over right;
|
||||
}
|
||||
|
||||
:lang( zh ) & {
|
||||
text-emphasis-position: under right;
|
||||
}
|
||||
}
|
||||
|
||||
.mw-logo-wordmark {
|
||||
font-weight: var( --font-weight-semibold );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue