Rollup merge of #77518 - camelid:rustdoc-use-correct-link-font, r=GuillaumeGomez

Only use Fira Sans for the first `td` in item lists

Fixes #77516.

Fixes an issue where links in the one-line version of an item's docs
would be in Fira Sans, while the rest would be in a serifed font.
This commit is contained in:
Jonas Schievink 2020-10-04 15:45:46 +02:00 committed by GitHub
commit ec9b4d5e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,7 @@ h3.impl, h3.method, h3.type {
} }
h1, h2, h3, h4, h1, h2, h3, h4,
.sidebar, a.source, .search-input, .content table :not(code)>a, .sidebar, a.source, .search-input, .content table td:first-child > a,
.collapse-toggle, div.item-list .out-of-band, .collapse-toggle, div.item-list .out-of-band,
#source-sidebar, #sidebar-toggle { #source-sidebar, #sidebar-toggle {
font-family: "Fira Sans", sans-serif; font-family: "Fira Sans", sans-serif;