将插件css文件转到static目录下以实现标准化

This commit is contained in:
ArenaDruid 2025-02-05 13:22:39 +08:00
parent fd3a5fa832
commit e82d336ad2
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
---
comments: false
publish: true
---
*纯中文斜体*

View File

@ -9,7 +9,7 @@ export const ChineseItalic: QuartzTransformerPlugin<Options> = (opts) => {
name: "ChineseItalic",
externalResources() {
return {
css: [{ content: "attachments/chinese-italic-kaiti.css" }],
css: [{ content: "static/chinese-italic-kaiti.css" }],
}
},
}

View File

@ -1,3 +1,4 @@
/* Copyright (c) 2025 Github@ArenaDruid | MIT License */
/* 定义中文斜体专用字体 */
@font-face {
font-family: 'ChineseItalic';