diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-16 13:40:21 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-16 13:59:45 -0700 |
| commit | b72de9be74dd5ac1d8b23d5ece03a7690274a14c (patch) | |
| tree | 74d5c31cf3d9cd7d5f6824ecd5658696b480a48f /src/librustdoc/html/static | |
| parent | 54f20bbb8a7aeab93da17c0019c1aaa10329245a (diff) | |
| download | rust-b72de9be74dd5ac1d8b23d5ece03a7690274a14c.tar.gz rust-b72de9be74dd5ac1d8b23d5ece03a7690274a14c.zip | |
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).
Diffstat (limited to 'src/librustdoc/html/static')
| -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 ccb30262060..7570c92c211 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; } @@ -788,6 +787,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; @@ -1517,10 +1517,7 @@ kbd { cursor: default; } -#main-content > ul { - padding-left: 10px; -} -#main-content > ul > li { +ul.all-items > li { list-style: none; } |
