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

Some questions about the style of headlines #194

Open
vszhub opened this issue Oct 2, 2020 · 0 comments
Open

Some questions about the style of headlines #194

vszhub opened this issue Oct 2, 2020 · 0 comments

Comments

@vszhub
Copy link

vszhub commented Oct 2, 2020

Here is some code from _type.scss:

h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

h4, h5, h6 {
  margin-top: 1rem;
  font-size: 1rem;
}

I have two questions about it:

  1. Why is the margin of h3 larger than the one of h2? Shouldn't the larger section have a larger margin?
  2. The styles of h4, h5, and h6 are the same. So how does a reader distinguish them?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant