Skip to content

Commit

Permalink
Auto merge of rust-lang#76453 - camelid:fix-css-crate-list, r=Guillau…
Browse files Browse the repository at this point in the history
…meGomez,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
  • Loading branch information
bors committed Sep 9, 2020
2 parents 78f4cbb + bf09a52 commit 780ca14
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 @@ -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;
}
Expand Down

0 comments on commit 780ca14

Please sign in to comment.