mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
Update custom.scss
This commit is contained in:
parent
485e119955
commit
0687df87cc
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user