Skip to content

Commit e399343

Browse files
committed
Reduce margin on h5 and h6
1 parent 9aec3a0 commit e399343

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+8-1
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,14 @@ h3 {
129129
}
130130
h1, h2, h3, h4, h5, h6 {
131131
font-weight: 500;
132+
}
133+
h1, h2, h3, h4 {
132134
margin: 20px 0 15px 0;
133135
padding-bottom: 6px;
134136
}
137+
h5, h6 {
138+
margin: 15px 0 5px 0;
139+
}
135140
h1.fqn {
136141
display: flex;
137142
border-bottom: 1px dashed;
@@ -505,7 +510,9 @@ nav.sub {
505510
.top-doc .docblock h2 { font-size: 1.3em; }
506511
.top-doc .docblock h3 { font-size: 1.15em; }
507512
.top-doc .docblock h4,
508-
.top-doc .docblock h5,
513+
.top-doc .docblock h5 {
514+
font-size: 1.1em;
515+
}
509516
.top-doc .docblock h6 {
510517
font-size: 1em;
511518
}

0 commit comments

Comments
 (0)