From 584dafcc6e9dcb4d09d3b149090438e741eba9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckasuie=E2=80=9D?= Date: Sat, 9 Nov 2024 12:27:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9Ebg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v3/css/index.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v3/css/index.css b/v3/css/index.css index c94d8a4..3520ec3 100644 --- a/v3/css/index.css +++ b/v3/css/index.css @@ -25,14 +25,19 @@ src: url("../font/Yozai-Regular.ttf") format("truetype"); } +@font-face { + font-family: "HYTMR"; + src: url("https://npm.elemecdn.com/fontcdn-ariasaka@1.0.0/HYTangMeiRen55W.woff2") format("woff2"); +} + /** 背景 */ body::before { content: ""; position: fixed; top: 0; left: 0; - width: 100%; - height: 100%; + width: 100vw; + height: 100vh; background-position: center; background-attachment: fixed; background-size: cover;