diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-16 20:37:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 20:37:16 -0700 |
| commit | 9c6ef4ae38078a9619fa840e264f0bef569abbd0 (patch) | |
| tree | b3057bdc873b06f14d4cd0401538a4a19d82c562 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 8b88370ee584b720e4321655d50dc5042950e9fb (diff) | |
| parent | 28956d18d15b80d639d83b9dc0d31240bff90e32 (diff) | |
| download | rust-9c6ef4ae38078a9619fa840e264f0bef569abbd0.tar.gz rust-9c6ef4ae38078a9619fa840e264f0bef569abbd0.zip | |
Rollup merge of #101898 - GuillaumeGomez:rm-unused-css, r=notriddle
Remove some unused CSS rules
Since we now have list of items for the ones on the page, we don't need the CSS rules anymore in the sidebar (`.sidebar a`). As for the `.content` ones, they are used to highlight the items in the page (for definitions and others). Surprisingly enough, `method` and `tymethod` are all replaced with `fnname`.
I also used this opportunity to remove these rules in `ayu.css`:
```css
.stab.unstable {}
h2,
h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {}
```
In the second commit, I removed the `.block a.current*` CSS rules as they're overridden by `.sidebar a.current*` CSS rules.
In the third commit I removed unneeded empty rules (that were there to satisfy the `--check-theme` option).
cc ``@jsha``
r? ``@notriddle``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
