From 702f89ab03f3e442de76dd3fe895cefe5f5155ad Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 19 Jan 2022 00:21:48 +0300 Subject: [PATCH] nah keep the old font --- global.css | 15 ++++++++++++++- manage/manage.css | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/global.css b/global.css index 71e4fb07..95440557 100644 --- a/global.css +++ b/global.css @@ -4,8 +4,21 @@ html#stylus #header *:not(#\1transition-suppressor) { * Using \1 to simplify js code because \0 is converted to \xFFFD per spec. */ transition: none !important; } +:root { + --family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif; +} body { - font: normal 12px sans-serif; + font: normal 12px var(--family); +} +body:lang(ja) { + font-family: Arial, 'Meiryo UI', 'MS Gothic', system-ui, sans-serif; +} +body:lang(zh-CN) { + font-family: Arial, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif; +} +body:lang(zh-TW), +body:lang(zh-HK) { + font-family: Arial, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui, sans-serif; } button { diff --git a/manage/manage.css b/manage/manage.css index 003b67f9..035ef169 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -962,7 +962,7 @@ a:hover { } #manage\.newUI\.sort { - font-family: 'sorticon', sans-serif; + font-family: 'sorticon', var(--family); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }