iissnan / iissnan/theme-next-docs

你好,我觉得博客文章的字体太小了,怎么调整?

Open
#160 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
165
Forks
55
PR merge metrics
No merged PRs in 30d

Description

font:
enable: true

外链字体库地址,例如 //fonts.googleapis.com (默认值)

host:

全局字体,应用在 body 元素上

global:
external: true
family: Monda

标题字体 (h1, h2, h3, h4, h5, h6)

headings:
external: true
family: Roboto Slab

文章字体

posts:
external: true
family:

Logo 字体

logo:
external: true
family: Lobster Two
size: 24

代码字体,应用于 code 以及代码块

codes:
external: true
family: PT Mono

文章字体的大小,我加上size: 8,但是没有任何变化。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the font.posts configuration shown in the issue and inspect the theme documentation for the supported article-font options. Confirm why adding size has no effect, then document the valid adjustment path and verify it against the reported configuration.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.