Skip to content

Commit

Permalink
docs: update font link
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Feb 4, 2024
1 parent 97ad28f commit 70a5dfe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Powered by [DeepSeek 开发平台](https://platform.deepseek.com/).

- 字体:[MaShanZheng | Google Fonts](https://fonts.google.com/specimen/Ma+Shan+Zheng)

## Desc

- 横批从右往左,上联在右,下联在左。
Expand Down
2 changes: 1 addition & 1 deletion public/fonts/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Fonts

- Google Fonts: [MaShanZheng](https://fonts.google.com/share?selection.family=Zhi+Mang+Xing)
- Google Fonts: [MaShanZheng](https://fonts.google.com/specimen/Ma+Shan+Zheng)
6 changes: 3 additions & 3 deletions styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// https://fonts.google.com/share?selection.family=Zhi+Mang+Xing
// https://fonts.google.com/specimen/Ma+Shan+Zheng
.font-zmx {
font-family: 'Zhi Mang Xing', 华文楷体, KaiTi, 'STKaiti', 'Kaiti SC', '楷体',
font-family: 'Ma Shan Zheng', 华文楷体, KaiTi, 'STKaiti', 'Kaiti SC', '楷体',
'楷体_GB2312', cursive, serif;
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Zhi Mang Xing';
font-family: 'Ma Shan Zheng';
src: url('/fonts/MaShanZheng-Regular.ttf') format('truetype');
}

0 comments on commit 70a5dfe

Please sign in to comment.