diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-10-18 20:24:41 -0700 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-10-18 20:24:41 -0700 |
| commit | 9aec3a0e5a5adcdc83e45ed595ccb0b1265f5389 (patch) | |
| tree | 3938751b651561213d68a31673452b0592bb3a91 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | ec724ac0753b7538668308a6aa5b78980b2931bb (diff) | |
Remove border-bottom from most docblocks.
Headings in the top-doc docblock still get a border-bottom due to a rule that covers all h2, h3, and h4. Method docblocks are generally h5, and so don't get a border-bottom anymore. This fixes a problem where a sub-sub-heading within a method would have a line that went all the way across the page, creating a division that made that sub-sub-heading look much more important than it really is.
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 11c54876dea..98a99256559 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -502,10 +502,6 @@ nav.sub { white-space: pre-wrap; } -.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5, .docblock h6 { - border-bottom: 1px solid; -} - .top-doc .docblock h2 { font-size: 1.3em; } .top-doc .docblock h3 { font-size: 1.15em; } .top-doc .docblock h4, |
