Skip to content

Commit

Permalink
Auto merge of #76453 - camelid:fix-css-crate-list, r=GuillaumeGomez,o…
Browse files Browse the repository at this point in the history
…llie27

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!

---

`@rustbot` modify labels: T-rustdoc C-bug
  • Loading branch information
bors committed Sep 9, 2020
2 parents 78f4cbb + bf09a52 commit 780ca14
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
@@ -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;
}
3 changes: 0 additions & 3 deletions src/librustdoc/html/static/themes/ayu.css
Original file line number Diff line number Diff line change
@@ -179,9 +179,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;
}

0 comments on commit 780ca14

Please sign in to comment.