From 130db5b6caf61bda02864357f481d1b3df163afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckasuie=E2=80=9D?= Date: Sat, 9 Nov 2024 12:50:29 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8C=88bg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v3/css/index.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/v3/css/index.css b/v3/css/index.css index c64af89..4e95455 100644 --- a/v3/css/index.css +++ b/v3/css/index.css @@ -30,14 +30,18 @@ src: url("https://npm.elemecdn.com/fontcdn-ariasaka@1.0.0/HYTangMeiRen55W.woff2") format("woff2"); } +body { + height: auto; +} + /** 背景 */ body::before { content: ""; position: fixed; top: 0; left: 0; - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; background-position: center; background-attachment: fixed; background-size: cover; @@ -64,7 +68,6 @@ body.hope-ui-dark::before { div#root { position: relative; z-index: 1; - height: 100vh; } /**管理后台*/ @@ -226,6 +229,10 @@ div#root div.body .hope-c-PJLV-iiuDLME-css { } /**MD*/ +.markdown-body { + font-family: inherit; +} + .markdown-body > ul > li::marker { color: rgba(var(--mio-primary), 1); }