Skip to content

Commit

Permalink
rustdoc: Fix font CSS for crate lists
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
camelid committed Sep 7, 2020
1 parent 9fe551a commit bf09a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
3 changes: 0 additions & 3 deletions src/librustdoc/html/static/themes/ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf09a52

Please sign in to comment.