Skip to content

Commit 7fd3701

Browse files
committed
Improve spacing in docs
1 parent 0ad88eb commit 7fd3701

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/style.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,32 @@ body {
7070
font-size: 38pt;
7171
font-weight: 400;
7272
color: white;
73-
margin-bottom: -3rem;
73+
margin: 0.5rem 0 0 0;
7474
padding: 0;
7575
}
7676

7777
#content h2 {
7878
font-size: 30pt;
7979
font-weight: 300;
8080
color: white;
81-
margin: 3rem 0 1rem 0;
81+
margin: 0 0 1rem 0;
8282
padding: 0;
8383
}
8484

8585
#content h3 {
8686
font-size: 24pt;
8787
font-weight: 300;
88-
padding: 1rem 0 1rem 0;
88+
padding: 1.5rem 0 1rem 0;
8989
margin: 0;
9090
color: #eee;
9191
}
9292

93-
#content .sect1:first-child h2 {
94-
margin-top: 0;
93+
#content .sect1 ~ .sect1 h2 {
94+
margin-top: 3.5rem;
95+
}
96+
97+
#content .sect2 ~ .sect2 h3 {
98+
padding-top: 2.5rem;
9599
}
96100

97101
code {
@@ -122,7 +126,7 @@ pre.highlight code.hljs {
122126

123127
.listingblock .title {
124128
font-size: 10pt;
125-
margin: 0;
129+
margin: 1rem 0 0 0;
126130
background: #555;
127131
color: white;
128132
display: inline-block;

0 commit comments

Comments
 (0)