Skip to content

请问怎么自定义网站的字体大小? #931

Answered by zhheo
Gahotx asked this question in Q&A
Discussion options

You must be logged in to vote

可自行设置字体的font-family
如不需要配置,请留空

修改 主题配置文件

# Global font settings
# Don't modify the following settings unless you know how they work (非必要不要修改)
font:
  global-font-size:
  code-font-size:
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif
  code-font-family: consolas, Menlo, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gahotx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants