Update custom.scss

This commit is contained in:
enneaa 2025-03-13 03:05:59 +08:00 committed by GitHub
parent 485e119955
commit 0687df87cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,10 @@
@use "./base.scss"; @use "./base.scss";
// put your custom CSS here! // put your custom CSS here! 
<link rel="stylesheet" href="https://npm.elemecdn.com/lxgw-wenkai-screen-webfont/style.css" media="print" onload="this.media='all'"> // 使用 @import 引入字体
@import 'https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.6.0/lxgwwenkaiscreen.css';
@import 'https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.6.0/lxgwwenkaiscreen.css';  // 只需要在 body 中设置字体即可会自动继承给子元素
* { body {
/* Screen version */
font-family: "LXGW WenKai Screen", sans-serif;
}
body { 
/* Screen version */
font-family: "LXGW WenKai Screen", sans-serif; font-family: "LXGW WenKai Screen", sans-serif;
} }