Skip to content

Commit

Permalink
Add some spacing between sections in docs (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
DunnCoding authored and KyeMaloy97 committed Oct 18, 2019
1 parent f081aa3 commit 5aa5712
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,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

0 comments on commit 5aa5712

Please sign in to comment.