diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-17 19:27:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-17 19:27:08 +0200 |
| commit | 9702c6cacf1882607ffde5481c541fc8928bdaf9 (patch) | |
| tree | 7a3ddb62e615f3f2dc31c1b33469387259dcd385 /src/librustdoc/html/static/css | |
| parent | 179fd13e80bb1259a9bb0a3c49aab3d56217816a (diff) | |
| parent | a87a883f4adfc6be528a04216a3615e4907fffd4 (diff) | |
| download | rust-9702c6cacf1882607ffde5481c541fc8928bdaf9.tar.gz rust-9702c6cacf1882607ffde5481c541fc8928bdaf9.zip | |
Rollup merge of #101918 - notriddle:notriddle/all, r=GuillaumeGomez
rustdoc: clean up CSS for All Items and All Crates lists This reduces the amount of CSS, and makes these two pages more consistent (which, necessarily, means changing them a bit). # Before   # After  
Diffstat (limited to 'src/librustdoc/html/static/css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 3995c9fdb01..a83887f7bbd 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -207,7 +207,6 @@ a.source, .out-of-band, span.since, details.rustdoc-toggle > summary::before, -.content ul.crate a.crate, a.srclink, #help-button > button, details.rustdoc-toggle.top-doc > summary, @@ -218,7 +217,7 @@ details.rustdoc-toggle.non-exhaustive > summary::before, .more-examples-toggle summary, .more-examples-toggle .hide-more, .example-links a, /* This selector is for the items listed in the "all items" page. */ -#main-content > ul.docblock > li > a { +ul.all-items { font-family: "Fira Sans", Arial, NanumBarunGothic, sans-serif; } @@ -786,6 +785,7 @@ h2.small-section-header > .anchor { content: '§'; } +.all-items a:hover, .docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover, .docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover, .item-info a { text-decoration: underline; @@ -1515,10 +1515,7 @@ kbd { cursor: default; } -#main-content > ul { - padding-left: 10px; -} -#main-content > ul > li { +ul.all-items > li { list-style: none; } |
