about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-09 11:09:19 -0700
committerMichael Howell <michael@notriddle.com>2023-01-09 11:09:19 -0700
commit1c766d03a7ad534bfba62b61c65c2c1216a64264 (patch)
treec3ae465217f914152235eeac0b473990a9a207c2 /src
parent89e0576bd3aec2f1acf935b353900bd75742860b (diff)
downloadrust-1c766d03a7ad534bfba62b61c65c2c1216a64264.tar.gz
rust-1c766d03a7ad534bfba62b61c65c2c1216a64264.zip
rustdoc: merge common CSS for `a`
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 77401e8b76e..8ec4631f7d0 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -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;