Skip to content

Commit bf09a52

Browse files
committed
rustdoc: Fix font CSS for crate lists
I had put it in the wrong file in #76126. This should fix it now. Thank you to @ollie27 for pointing this out!
1 parent 9fe551a commit bf09a52

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/librustdoc/html/static/rustdoc.css

+4
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ h1, h2, h3, h4,
126126
font-family: "Fira Sans", sans-serif;
127127
}
128128

129+
.content ul.crate a.crate {
130+
font: 16px/1.6 "Fira Sans";
131+
}
132+
129133
ol, ul {
130134
padding-left: 25px;
131135
}

src/librustdoc/html/static/themes/ayu.css

-3
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ pre {
178178
.content span.externcrate, .content span.mod, .content a.mod {
179179
color: #acccf9;
180180
}
181-
.content ul.crate a.crate {
182-
font: 16px/1.6 "Fira Sans";
183-
}
184181
.content span.struct, .content a.struct {
185182
color: #ffa0a5;
186183
}

0 commit comments

Comments
 (0)