Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 为 typo 添加字体粗细控制 #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions typo.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,22 +256,27 @@ h1, h2, h3, h4, h5, h6 {

.typo h1, .typo-h1 {
font-size: 2em;
font-weight: 600;
}

.typo h2, .typo-h2 {
font-size: 1.8em;
font-weight: 500;
}

.typo h3, .typo-h3 {
font-size: 1.6em;
font-weight: 400;
}

.typo h4, .typo-h4 {
font-size: 1.4em;
font-weight: 300;
}

.typo h5, .typo h6, .typo-h5, .typo-h6 {
font-size: 1.2em;
font-weight: 200;
}

/* 在文章中,应该还原 ul 和 ol 的样式 */
Expand Down