[O] Use lxgw wenkai webfont
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
"core-js": "^3.37.1",
|
"core-js": "^3.37.1",
|
||||||
"emoji-regex": "^10.3.0",
|
"emoji-regex": "^10.3.0",
|
||||||
"linkify-urls": "^4.1.0",
|
"linkify-urls": "^4.1.0",
|
||||||
|
"lxgw-wenkai-webfont": "^1.7.0",
|
||||||
"marked": "^4.3.0",
|
"marked": "^4.3.0",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"tg-blog": "^1.1.7",
|
"tg-blog": "^1.1.7",
|
||||||
|
|||||||
+6
-4
@@ -1,7 +1,9 @@
|
|||||||
@font-face
|
//@font-face
|
||||||
font-family: 'WenKai'
|
// font-family: 'WenKai'
|
||||||
src: url("/fonts/LXGWWenKai-Regular.woff2") format('woff2'), url("/fonts/LXGWWenKai-Regular.woff") format('woff')
|
// src: url("/fonts/LXGWWenKai-Regular.woff2") format('woff2'), url("/fonts/LXGWWenKai-Regular.woff") format('woff')
|
||||||
|
@import 'lxgw-wenkai-webfont/style.css'
|
||||||
|
|
||||||
.font-custom
|
.font-custom
|
||||||
font-family: "WenKai", var(--font-fallback)
|
//font-family: "WenKai", var(--font-fallback)
|
||||||
|
font-family: "LXGW WenKai", var(--font-fallback), serif
|
||||||
//line-height: 1.3em
|
//line-height: 1.3em
|
||||||
|
|||||||
Reference in New Issue
Block a user