Skip to content

Commit

Permalink
Reduce margin on h5 and h6
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Oct 19, 2021
1 parent 9aec3a0 commit e399343
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,14 @@ h3 {
}
h1, h2, h3, h4, h5, h6 {
font-weight: 500;
}
h1, h2, h3, h4 {
margin: 20px 0 15px 0;
padding-bottom: 6px;
}
h5, h6 {
margin: 15px 0 5px 0;
}
h1.fqn {
display: flex;
border-bottom: 1px dashed;
Expand Down Expand Up @@ -505,7 +510,9 @@ nav.sub {
.top-doc .docblock h2 { font-size: 1.3em; }
.top-doc .docblock h3 { font-size: 1.15em; }
.top-doc .docblock h4,
.top-doc .docblock h5,
.top-doc .docblock h5 {
font-size: 1.1em;
}
.top-doc .docblock h6 {
font-size: 1em;
}
Expand Down

0 comments on commit e399343

Please sign in to comment.