Skip to content

Commit

Permalink
排版:棄用 EB Garamond 字型
Browse files Browse the repository at this point in the history
  • Loading branch information
yixiuer committed Oct 28, 2024
1 parent 56cb5e2 commit 5f7fc1c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
10 changes: 8 additions & 2 deletions assets/scss/custom/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
}

sup {
font-family: 'Source Code Pro', monospace;
font-family: monospace;
}
.emphasis-point {
font-family: 'I.MingCP', serif;
}
blockquote .emphasis-point {
font-family: $fontFamilyQuote;
}

[data-type="poetry"], [data-type="aphorism"] {
Expand Down Expand Up @@ -118,7 +124,7 @@ body, .back-to-top, ::-webkit-scrollbar-track {
font-size: 80%;
}
.footer-inner {
padding: 2em 2em 2em 2.05em;
padding: 2em 2em 2em 1.42em;
}
.copyleft-symbol {
position: relative;
Expand Down
14 changes: 7 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1053,20 +1053,20 @@ uglyURLs = false
# 分節標題、目錄標題
fontFamilyHeadings = "'Noto Serif TC', 'Noto Serif SC', serif"
# 程式碼、上標、文章元資訊、文章更新徽章、文章的 Git 版本資訊、極簡頁尾、不蒜子站點瀏覽計數
fontFamilyCode = "'EB Garamond', 'LXGW WenKai TC', cursive"
fontFamilyCode = "'LXGW WenKai TC', cursive"
# 引用
fontFamilyQuote = "'EB Garamond', 'LXGW WenKai TC', cursive"
fontFamilyQuote = "'LXGW WenKai TC', cursive"
# 文章目錄
fontFamilyTOC = "'EB Garamond', 'LXGW WenKai TC', cursive"
fontFamilyTOC = "'LXGW WenKai TC', cursive"
# 說明文字
fontFamilyCaption = "'EB Garamond', 'LXGW WenKai TC', cursive"
fontFamilyCaption = "'LXGW WenKai TC', cursive"
# 頁尾
fontFamilyFooter = "'EB Garamond', 'LXGW WenKai TC', 'Noto Serif SC', cursive"
fontFamilyFooter = "'LXGW WenKai TC', 'Noto Serif SC', cursive"
# 主體
fontFamilyBody = "'EB Garamond', 'I.MingCP', serif"
fontFamilyBody = "'I.MingCP', serif"

# 網路字型連結
fontsLink = "https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif+TC:wght@500;700&family=Noto+Serif+SC:wght@700&family=LXGW+WenKai+TC:wght@300&display=swap"
fontsLink = "https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;700&family=Noto+Serif+SC:wght@700&family=LXGW+WenKai+TC:wght@300&display=swap"
# 說明:要想讀者一定體驗到你設定的字型,最好
# 採用網路字型。MemE 主題目前僅支援
# Google Fonts 的連結,請前往
Expand Down
2 changes: 1 addition & 1 deletion content/about/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ date = "2018-02-04T18:01:02+08:00"

此外,如果你在浏览本博客的过程中发现了任何问题(比如错别字),欢迎前往 GitHub 提交 [Issue](/~https://github.com/yixiuer/yixiuer.me/issues) 或直接修改相关文件后提交 PR 给我。如果你有事想要联系一休儿,可以通过邮件,邮箱地址是:[yixiuer.me@gmail.com](mailto:yixiuer.me@gmail.com)

另,一休儿的哲学博客的建成离不开众多开源社区的强力支持。本博客使用 [Notion](https://reuixiy.notion.site/bfba6436c19f4172ae88b0c509f55452) 持续写作,博客自豪地由 [Hugo](https://gohugo.io/) 驱动,主题是 [MemE](/~https://github.com/reuixiy/hugo-theme-meme)源码在 [GitHub](/~https://github.com/yixiuer/yixiuer.me),目前通过 [GitHub Actions](/~https://github.com/yixiuer/yixiuer.me/actions) 进行持续构建、持续部署,曾经部署在星际文件系统 [IPFS](https://ipfs.io/)
另,一休儿的哲学博客的建成离不开众多开源社区的强力支持。本博客使用 [Notion](https://reuixiy.notion.site/bfba6436c19f4172ae88b0c509f55452) 持续写作,博客自豪地由 [Hugo](https://gohugo.io/) 驱动,主题 [MemE](/~https://github.com/reuixiy/hugo-theme-meme)源码 [GitHub](/~https://github.com/yixiuer/yixiuer.me),目前通过 [GitHub Actions](/~https://github.com/yixiuer/yixiuer.me/actions) 进行持续构建、持续部署,曾经部署在星际文件系统 [IPFS](https://ipfs.io/)

0 comments on commit 5f7fc1c

Please sign in to comment.