]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: merge common CSS for `a`
authorMichael Howell <michael@notriddle.com>
Mon, 9 Jan 2023 18:09:19 +0000 (11:09 -0700)
committerMichael Howell <michael@notriddle.com>
Mon, 9 Jan 2023 18:09:19 +0000 (11:09 -0700)
src/librustdoc/html/static/css/rustdoc.css

index 77401e8b76e80ba3e2e05a014e0788981770bc41..8ec4631f7d0876efc350805b0ccb37829cf29adf 100644 (file)
@@ -253,6 +253,7 @@ h1 a,
 
 a {
        color: var(--link-color);
+       text-decoration: none;
 }
 
 ol, ul {
@@ -662,10 +663,6 @@ nav.sub {
        margin: 0 0 15px 0;
 }
 
-a {
-       text-decoration: none;
-}
-
 .small-section-header {
        /* fields use <span> tags, but should get their own lines */
        display: block;