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

Add some spacing between sections in docs #310

Merged
merged 2 commits into from
Oct 18, 2019
Merged
Changes from 1 commit
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
17 changes: 14 additions & 3 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,20 @@ footer a:hover {
margin-bottom: 2em;
}

.doc-content h1, .doc-content h2, .doc-content h3, .doc-content h4, .doc-content h5, .doc-content h6 {
padding-top: 2.5em;
margin-top: -2.5em;
.doc-content h5, .doc-content h6 {
margin: 1.5rem 0 1rem 0;
}

.doc-content h1 {
margin: 2.5rem 0 1rem 0;
}

.doc-content h2 {
margin: 2.5rem 0 1rem 0;
}

.doc-content h3, .doc-content h4 {
margin: 2rem 0 1rem 0;
}

.dropdown {
Expand Down