about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-30 18:15:23 +0900
committerGitHub <noreply@github.com>2020-12-30 18:15:23 +0900
commitbdc215a8b9bd917e8902f113a9f65afe1d25ffe2 (patch)
tree55893e214831bd1551568b692c1490fe77418e8f
parentc50800b772b2bd210a9c7166990a24d79b0fd1c9 (diff)
parent893c626d060880d29aec38c0e910f6a97dfda6f9 (diff)
downloadrust-bdc215a8b9bd917e8902f113a9f65afe1d25ffe2.tar.gz
rust-bdc215a8b9bd917e8902f113a9f65afe1d25ffe2.zip
Rollup merge of #80472 - GuillaumeGomez:sans-serif-for-all-items-page, r=Nemo157
Use sans-serif font for the "all items" page links

The "all items" pages' links aren't using a sans-serif font unlike the rest of equivalent items in the other module pages. ``@Nemo157`` reported me this issue so here is the fix!

r? ``@Nemo157``
-rw-r--r--src/librustdoc/html/static/rustdoc.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 77bb7f31f4a..62b08e519bf 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -122,7 +122,9 @@ h3.impl, h3.method, h3.type {
 h1, h2, h3, h4,
 .sidebar, a.source, .search-input, .content table td:first-child > a,
 .collapse-toggle, div.item-list .out-of-band,
-#source-sidebar, #sidebar-toggle {
+#source-sidebar, #sidebar-toggle,
+/* This selector is for the items listed in the "all items" page. */
+#main > ul.docblock > li > a {
 	font-family: "Fira Sans", sans-serif;
 }