Auto merge of #43602 - QuietMisdreavus:fantastic-shrinking-headings, r=GuillaumeGomez
rustdoc: shrink headings in non-top-level docblocks Headings in per-method docs are often bigger than the function names/signatures themselves, so this tones those down to accentuate the methods.  Fixes #17193
This commit is contained in:
commit
5c385bef7a
1 changed files with 7 additions and 3 deletions
|
|
@ -274,9 +274,13 @@ nav.sub {
|
|||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
.docblock h1 { font-size: 1.3em; }
|
||||
.docblock h2 { font-size: 1.15em; }
|
||||
.docblock h3, .docblock h4, .docblock h5 { font-size: 1em; }
|
||||
#main > .docblock h1 { font-size: 1.3em; }
|
||||
#main > .docblock h2 { font-size: 1.15em; }
|
||||
#main > .docblock h3, #main > .docblock h4, #main > .docblock h5 { font-size: 1em; }
|
||||
|
||||
.docblock h1 { font-size: 1em; }
|
||||
.docblock h2 { font-size: 0.95em; }
|
||||
.docblock h3, .docblock h4, .docblock h5 { font-size: 0.9em; }
|
||||
|
||||
.docblock {
|
||||
margin-left: 24px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue