Skip to content

Commit

Permalink
feat: kaiti-font
Browse files Browse the repository at this point in the history
  • Loading branch information
yb6b committed Mar 15, 2024
1 parent 0a0f6a7 commit 1796c2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/.vitepress/theme/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.kaiti-font {
font-family: "kaiti-yima", "kaiti", "楷体", system-ui, 'TH-Feon', 'TH-Tshyn-P2', 'TH-Tshyn-P0', 'TH-Tshyn-P1', 'TH-Tshyn-P16', '宋体',system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: "kaiti-yima", "kaiti", "楷体", 'TH-Feon', 'TH-Tshyn-P2', 'TH-Tshyn-P0', 'TH-Tshyn-P1', 'TH-Tshyn-P16', '宋体', Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW\-Kai", serif;
}

@font-face {
Expand Down Expand Up @@ -37,12 +37,12 @@
.medium-zoom-overlay {
background-color: var(--vp-c-bg) !important;
z-index: 100;
}
.medium-zoom-overlay ~ img {
}

.medium-zoom-overlay~img {
z-index: 101;
}
.medium-zoom--opened .medium-zoom-overlay {
}

.medium-zoom--opened .medium-zoom-overlay {
opacity: 0.9 !important;
}
}
2 changes: 1 addition & 1 deletion src/graceful-code/v20/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const urls = [
## 3. 部件字根
字根总共 470 个,归类后 318 个字根。

[![逸码字根图](/v20/v20-kbd.webp)](/v20/v20-kbd.webp)
![逸码字根图](/v20/v20-kbd.webp)

<a class="button is-small is-light" href="/v20/v20-kbd.pdf" target="_blank" download="逸码V20字根图矢量图.pdf">下载PDF高清字根图</a>

Expand Down

0 comments on commit 1796c2c

Please sign in to comment.