From 748ceee991612bbf294dcfb7d0dbb7a8530e93ec Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Thu, 22 Sep 2022 00:42:13 +0800 Subject: =?UTF-8?q?:link:=20Perf:=20=E5=BE=AE=E8=B0=83=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/matcha.css | 15 +-------------- assets/matcha.dark.css | 4 ++++ 2 files changed, 5 insertions(+), 14 deletions(-) (limited to 'assets') diff --git a/assets/matcha.css b/assets/matcha.css index 1687cac..618deab 100644 --- a/assets/matcha.css +++ b/assets/matcha.css @@ -882,19 +882,6 @@ img.alignright { /* = = = = = = = = = = */ /* header */ -.header, -.small-header { - /* transition: 0.25s; */ - font-family: "Droid Serif", - Georgia, - "Times New Roman", - "PingFang SC", - "Hiragino Sans GB", - "Source Han Sans CN", - "WenQuanYi Micro Hei", - "Microsoft Yahei", - serif; -} .header .site-title, .small-header .site-title { font-weight: 400; @@ -1014,7 +1001,7 @@ img.alignright { left: 0; right: 0; z-index:80; - background: var(--light-bg); + background: rgba(253,253,253,.7); backdrop-filter: blur(1em); -webkit-backdrop-filter: blur(1em) } diff --git a/assets/matcha.dark.css b/assets/matcha.dark.css index ca6b110..5d14780 100644 --- a/assets/matcha.dark.css +++ b/assets/matcha.dark.css @@ -34,6 +34,10 @@ body.extrasimple.matcha-dark { background: var(--white-or-black) } +body.matcha-dark .small-header.shrink { + background: rgba(10,10,10,.7); +} + /* 去除背景 */ body.matcha-dark .post-content pre code { background: transparent -- cgit v1.2.3