-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: clean up .out-of-band
/.in-band
CSS
#102280
Conversation
* Remove the `float: right` fallback from the main header, which hasn't been needed since IE11 support was dropped. * Remove `in-band` from low-level headers, which hasn't been needed since `.rightside` switched to `float: right` in 593d6d1 * Remove unreachable `.in-band > code, .in-band > .code-header` CSS, since the `in-band` class was attached to the `code-header` itself, not nested directly below it. * Use `rem` instead of `em` for code header margins. * This results in a slight change in spacing around impls and item-info, but since it makes it more consistent with the way methods are presented, it's probably fine.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon. Please see the contribution instructions for more information. |
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
Can you upload a demo please? That would make the checking much easier. |
Apart from my 2 comments, looks all good to me. Thanks for this improvement, it's really great! |
Thanks! r=me once CI pass. |
@bors r=GuillaumeGomez |
…fee1-dead Rollup of 4 pull requests Successful merges: - rust-lang#101851 (Clean up (sub)diagnostic derives) - rust-lang#102244 (Only generate closure def id for async fns with body) - rust-lang#102263 (Clarify Iterator::rposition code example) - rust-lang#102280 (rustdoc: clean up `.out-of-band`/`.in-band` CSS) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Remove the
float: right
fallback from the main header, which hasn't been needed since IE11 support was dropped.Remove
in-band
from low-level headers, which hasn't been needed since.rightside
switched tofloat: right
in 593d6d1Remove unreachable
.in-band > code, .in-band > .code-header
CSS, since thein-band
class was attached to thecode-header
itself, not nested directly below it.Use
rem
instead ofem
for code header margins.This results in a slight change in spacing around impls and item-info, but since it makes it more consistent with the way methods are presented, it's probably fine.
Preview: http://notriddle.com/notriddle-rustdoc-demos/band/std/fs/struct.File.html