Skip to content

Commit 780ca14

Browse files
committed
Auto merge of rust-lang#76453 - camelid:fix-css-crate-list, r=GuillaumeGomez,ollie27
rustdoc: Fix font CSS for crate lists I had put it in the wrong file in rust-lang#76126. This should fix it now. Thank you to `@ollie27` for pointing this out! --- `@rustbot` modify labels: T-rustdoc C-bug
2 parents 78f4cbb + bf09a52 commit 780ca14

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
@@ -179,9 +179,6 @@ pre {
179179
.content span.externcrate, .content span.mod, .content a.mod {
180180
color: #acccf9;
181181
}
182-
.content ul.crate a.crate {
183-
font: 16px/1.6 "Fira Sans";
184-
}
185182
.content span.struct, .content a.struct {
186183
color: #ffa0a5;
187184
}

0 commit comments

Comments
 (0)