From 98d4d3e0dc4a154b638ea05c14770825722ff4e3 Mon Sep 17 00:00:00 2001 From: movsb Date: Sun, 10 Mar 2024 22:13:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=AD=97=E4=BD=93=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/blog/statics/plugins/highlight/prism.css | 2 +- theme/blog/styles/variables.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/blog/statics/plugins/highlight/prism.css b/theme/blog/statics/plugins/highlight/prism.css index cdfbad93..33014bb3 100644 --- a/theme/blog/statics/plugins/highlight/prism.css +++ b/theme/blog/statics/plugins/highlight/prism.css @@ -8,7 +8,7 @@ pre[class*="language-"] { color: #777; background: none; - font-family: var(--mono-font), Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-family: var(--mono-font), monospace; text-align: left; white-space: pre; word-spacing: normal; diff --git a/theme/blog/styles/variables.scss b/theme/blog/styles/variables.scss index 8758c4ba..8b3e29cf 100644 --- a/theme/blog/styles/variables.scss +++ b/theme/blog/styles/variables.scss @@ -1,6 +1,6 @@ :root { ---font-size: 18px; ---mono-font: "LXGW WenKai Mono", Monaco, Consolas, monospace, Courier; +--font-size: 16px; +--mono-font: "LXGW WenKai Mono", Monaco, Consolas, monospace; --max-width: 850px; --border-color-hover: #e18500; --border-radius: 4px;