diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-02 21:16:33 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-02 21:16:33 +0200 |
| commit | 0daf8ac41f438ba338051e18a56ef8ae64951748 (patch) | |
| tree | d6ec5f7f42f56418162c46e8d05adc8c7b5af558 /src/librustdoc/html/static/rustdoc.css | |
| parent | 14fe83f7e49c384484bde8a5e0663393dc1a213d (diff) | |
Replace h3 for notable traits with div
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 8dad9f85386..aee10a7b06f 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -117,7 +117,7 @@ h2 { h3 { font-size: 1.3em; } -h1, h2, h3:not(.notable), h4 { +h1, h2, h3, h4 { font-weight: 500; margin: 20px 0 15px 0; padding-bottom: 6px; @@ -1129,6 +1129,13 @@ a.test-arrow:hover{ margin: 0; } +.notable-traits .notable { + margin: 0; + margin-bottom: 13px; + font-size: 19px; + font-weight: 600; +} + .notable-traits .docblock code.content{ margin: 0; padding: 0; @@ -1190,9 +1197,6 @@ pre.rust { cursor: pointer; z-index: 2; margin-left: 5px; - position: absolute; - left: -44px; - top: 2px; } #all-types { @@ -1308,14 +1312,6 @@ pre.rust { border-top: 1px solid; } - - -h3.notable { - margin: 0; - margin-bottom: 13px; - font-size: 19px; -} - kbd { display: inline-block; padding: 3px 5px; |
