修改字体

pull/1284/head
xiang578 2023-03-24 07:39:55 +08:00
parent 0520681d95
commit 7eff128376
2 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,10 @@ bulma-stylus-root = '../../../../node_modules/bulma-stylus/stylus'
/* --------------------------------- /* ---------------------------------
* Override Bulma CSS Framework * Override Bulma CSS Framework
* --------------------------------- */ * --------------------------------- */
$body-size ?= 14px $body-size ?= 16px
$body-background-color ?= #f7f7f7 $body-background-color ?= #f7f7f7
$family-sans-serif ?= Ubuntu, Roboto, 'Open Sans', 'Microsoft YaHei', sans-serif $family-sans-serif ?= "LXGW WenKai Screen", Ubuntu, Roboto, 'Open Sans', 'Microsoft YaHei', sans-serif
$family-code ?= 'Source Code Pro', monospace, 'Microsoft YaHei' $family-code ?= 'Source Code Pro', monospace, 'Microsoft YaHei'
$size-7 ?= .85rem $size-7 ?= .85rem

View File

@ -2,3 +2,5 @@ hexo.extend.filter.register('theme_inject', function (injects) {
// 样式文件 // 样式文件
injects.style.push('/source/_data/styles.styl'); injects.style.push('/source/_data/styles.styl');
}) })
hexo.extend.injector.register('head_begin', '<link rel="stylesheet" href="https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.6.0/lxgwwenkaiscreen.css">', 'default');