use a readable font for Japanese/Chinese

This commit is contained in:
tophf 2017-12-29 20:23:54 +03:00
parent 0f96e2fa4d
commit fef10b1638
2 changed files with 15 additions and 1 deletions

View File

@ -182,6 +182,19 @@ select[disabled] > option {
outline: none; outline: none;
} }
/* use a readable font for Japanese/Chinese */
.actions:lang(ja) *,
#header:lang(ja) * {
font-family: 'Meiryo UI', system-ui, 'MS Gothic', Arial, sans-serif;
font-weight: normal;
}
.actions:lang(zh) *,
#header:lang(zh) * {
font-family: 'MingLiU', system-ui, Arial, sans-serif;
}
@supports (-moz-appearance: none) { @supports (-moz-appearance: none) {
.moz-appearance-bug .svg-icon.checked, .moz-appearance-bug .svg-icon.checked,
.moz-appearance-bug .onoffswitch input, .moz-appearance-bug .onoffswitch input,

View File

@ -424,6 +424,7 @@ select {
#manage-text { #manage-text {
display: flex; display: flex;
align-items: baseline;
} }
#manage-text > :not(:last-child):after { #manage-text > :not(:last-child):after {
@ -913,7 +914,7 @@ input[id^="manage.newUI"] {
color: currentColor; color: currentColor;
padding: 2px 6px; padding: 2px 6px;
font-weight: bold; font-weight: bold;
font-family: monospace; font-family: Consolas, monospace;
border: 1px solid rgba(128, 128, 128, .25); border: 1px solid rgba(128, 128, 128, .25);
display: inline-block; display: inline-block;
margin: 2px; margin: 2px;