-
Notifications
You must be signed in to change notification settings - Fork 166
Use different font size for h3 and h4 in markdown formatted content. #8322
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,12 +46,12 @@ body, | |
| font-weight: 400; | ||
| } | ||
|
|
||
| h1 { font-size: 36px; } | ||
| h2 { font-size: 24px; } | ||
| h3 { font-size: 18px; } | ||
| h4 { font-size: 18px; } | ||
| h5 { font-size: 16px; } | ||
| h6 { font-size: 16px; } | ||
| h1 { font-size: 36px; } // note: github uses 2em, ~32px | ||
| h2 { font-size: 24px; } // note: github uses 1.5em, ~24px | ||
| h3 { font-size: 21px; } // note: github uses 1.25em, ~20px | ||
| h4 { font-size: 18px; } // note: github uses 1em, ~16px | ||
| h5 { font-size: 17px; } // note: github uses 0.875em, ~14px | ||
| h6 { font-size: 16px; } // note: github uses 0.85em, ~13.6px | ||
|
Comment on lines
+52
to
+54
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I note that it might be more importnat to have a larger difference between h3 and h4, than having any difference between h4-h6 People rarely use h5 and h6. If we wanted to make using h1-h6 usable, we should perhaps consider numbering headlines.
But this can also be a bit degenerate in it's own right... Though we could put (I'm not actually proposing we do this, just saying that would be an option). Mostly I'm saying we could consider not having a difference in size between h4-h6 as they are rarely used. Allowing us have a large difference between h3 and h4 (which is more commonly reached).
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think a table of contents hovering/updating/folding/unfolding as you scroll may be better than numbers. |
||
| } | ||
|
|
||
| img { | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.