]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: Style of [src] link for trait implementors
authorVitaly _Vi Shukela <vi0oss@gmail.com>
Sun, 1 Oct 2017 12:54:50 +0000 (15:54 +0300)
committerVitaly _Vi Shukela <vi0oss@gmail.com>
Sun, 1 Oct 2017 13:20:56 +0000 (16:20 +0300)
A change suggested by @GuillaumeGomez and @QuietMisdreavus.

Also slight reindenting of the appropriate CSS section.

src/librustdoc/html/static/rustdoc.css

index 1b7232bf1bca861e8c46f26ecd84e97564cd23e6..27574e67bc87bef27ac9641103f56d4308cf82f2 100644 (file)
@@ -111,7 +111,10 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
 h3.impl, h3.method, h3.type {
        margin-top: 15px;
 }
-h1, h2, h3, h4, .sidebar, a.source, .search-input, .content table :not(code)>a, .collapse-toggle {
+
+h1, h2, h3, h4,
+.sidebar, a.source, .search-input, .content table :not(code)>a,
+.collapse-toggle, ul.item-list > li > .out-of-band {
        font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
 }
 
@@ -310,6 +313,10 @@ h4.method > .out-of-band {
        font-size: 19px;
 }
 
+ul.item-list > li > .out-of-band {
+       font-size: 19px;
+}
+
 h4 > code, h3 > code, .invisible > code {
        position: inherit;
 }