Skip to content

Commit

Permalink
feat: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
LauGaHo committed Sep 22, 2024
1 parent 323b06f commit e22b9dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/_media/LXGWWenKaiMono-Regular.ttf
12 changes: 10 additions & 2 deletions docs/_media/theme-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,19 @@
src: url(./ComicShannsMonoNerdFontMono-Regular.ttf) format("truetype");
}

@font-face {
font-family: "LXGWWenKaiMono-Regular";
src: url(./LXGWWenKaiMono-Regular.ttf) format("truetype");
unicode-range: U+0000-FFFF;
}

body {
font-family: "ComicShannsMonoNerdFontMono-Regular", monospace;
font-family: "ComicShannsMonoNerdFontMono-Regular", "LXGWWenKaiMono-Regular",
monospace;
}

pre,
code {
font-family: "ComicShannsMonoNerdFontMono-Regular", monospace !important;
font-family: "ComicShannsMonoNerdFontMono-Regular", "LXGWWenKaiMono-Regular",
monospace !important;
}

0 comments on commit e22b9dd

Please sign in to comment.