diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 55dcaec8ae1e1..935b96e51fc3b 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -126,6 +126,10 @@ h1, h2, h3, h4,
font-family: "Fira Sans", sans-serif;
}
+.content ul.crate a.crate {
+ font: 16px/1.6 "Fira Sans";
+}
+
ol, ul {
padding-left: 25px;
}
diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css
index b4571018270ac..f910bfffc22f4 100644
--- a/src/librustdoc/html/static/themes/ayu.css
+++ b/src/librustdoc/html/static/themes/ayu.css
@@ -178,9 +178,6 @@ pre {
.content span.externcrate, .content span.mod, .content a.mod {
color: #acccf9;
}
-.content ul.crate a.crate {
- font: 16px/1.6 "Fira Sans";
-}
.content span.struct, .content a.struct {
color: #ffa0a5;
}