From 115977b4408562406fa563dcffd4889d3b6106e1 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 16 Jan 2022 12:39:52 +0300 Subject: [PATCH] use the browser's default font --- edit/edit.css | 1 - global.css | 8 ++++---- install-usercss/install-usercss.css | 2 -- manage/manage.css | 2 +- popup/popup.css | 2 -- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/edit/edit.css b/edit/edit.css index 3dd8ac15..11697142 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -5,7 +5,6 @@ body { margin: 0; height: 100vh; - font: 12px arial,sans-serif; } a { diff --git a/global.css b/global.css index 6fd13082..81c875d5 100644 --- a/global.css +++ b/global.css @@ -5,20 +5,20 @@ html#stylus #header *:not(#\1transition-suppressor) { transition: none !important; } body { - font: normal 12px Arial, system-ui, sans-serif; + font: normal .75rem sans-serif; } body:lang(ja) { - font-family: Arial, 'Meiryo UI', 'MS Gothic', system-ui, sans-serif; + font-family: sans-serif, 'Meiryo UI', 'MS Gothic', system-ui; } body:lang(zh-CN) { - font-family: Arial, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif; + font-family: sans-serif, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui; } body:lang(zh-TW), body:lang(zh-HK) { - font-family: Arial, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui, sans-serif; + font-family: sans-serif, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui; } button { diff --git a/install-usercss/install-usercss.css b/install-usercss/install-usercss.css index 7b373866..1100c044 100644 --- a/install-usercss/install-usercss.css +++ b/install-usercss/install-usercss.css @@ -95,8 +95,6 @@ h1 small { } .install { - font-family: Arial, "DejaVu Sans", Verdana, Geneva, sans-serif; - font-size: 14px; background-color: hsl(0, 0%, 33%); color: #eee; border-radius: 4px; diff --git a/manage/manage.css b/manage/manage.css index 5caf56a2..2e0b9dce 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -959,7 +959,7 @@ a:hover { } #manage\.newUI\.sort { - font-family: 'sorticon', Arial; + font-family: 'sorticon', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } diff --git a/popup/popup.css b/popup/popup.css index 9ae12e80..715c70b4 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -11,8 +11,6 @@ html, body { body { width: 252px; - font-size: 12px; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; margin: 0; }