Rollup merge of #102330 - notriddle:notriddle/srclink, r=GuillaumeGomez

rustdoc: remove no-op CSS `.srclink { font-weight; font-size }`

When this CSS was added in 34bd2b845b, source links were nested below headers.

34bd2b845b/src/librustdoc/html/render.rs (L4015-L4019)

Now, thanks to 458e7219bc2a62f72368279945cfda632a016da1, they are now siblings of headers, and thanks to 270d09dca9, they have the same font size that they would've had anyway.
This commit is contained in:
Matthias Krüger 2022-09-27 21:42:23 +02:00 committed by GitHub
commit b32ce95911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1116,13 +1116,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
color: var(--right-side-color);
}
.impl-items .srclink, .impl .srclink, .methods .srclink {
/* Override header settings otherwise it's too bold */
font-weight: normal;
font-size: 1rem;
}
pre.rust .question-mark {
font-weight: bold;
}