]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/rustdoc.css
Auto merge of #80790 - JohnTitor:rollup-js1noez, r=JohnTitor
[rust.git] / src / librustdoc / html / static / rustdoc.css
index 77bb7f31f4a824e50c7261e77425f69bcdbae1ff..8dad26dced9561800b5b5318a183d703a941ed2b 100644 (file)
@@ -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;
 }
 
@@ -1410,6 +1412,7 @@ h4 > .notable-traits {
        .sidebar > .block.version {
                border-bottom: none;
                margin-top: 12px;
+               margin-bottom: 0;
        }
 
        nav.sub {
@@ -1580,7 +1583,10 @@ h4 > .notable-traits {
                height: 73px;
        }
 
-       #main {
+       /* This is to prevent the search bar from being underneath the <section>
+        * element following it.
+        */
+       #main, #search {
                margin-top: 100px;
        }