-
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
Remove unused empty CSS rules in ayu theme #106174
Conversation
A change occurred in the Ayu theme. cc @Cldfire Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
@bors r+ rollup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These empty rules look like they've been around since the beginning of this file. I assumed they're intentionally there as a sort of template to match the other themes' CSS rules?
@@ -183,11 +183,7 @@ individually rather than as a group) */ | |||
/* FIXME: these rules should be at the bottom of the file but currently must be | |||
above the `@media (max-width: 700px)` rules due to a bug in the css checker */ | |||
/* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */ | |||
pre.rust .lifetime {} | |||
pre.rust .kw {} | |||
#search-tabs > button:hover, #search-tabs > button.selected {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we decide we should remove the rules, seems like this one should be removed too?
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#105515 (Account for macros in const generics) - rust-lang#106146 (Readme: update section on how to run `x.py`) - rust-lang#106150 (Detect when method call on LHS might be shadowed) - rust-lang#106174 (Remove unused empty CSS rules in ayu theme) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Yes, they were templates made to match the other CSS file. They’re outdated because the matching rules in the other CSS files were migrated to use variables instead. That’s also why the other ones aren’t removed yet. |
Ah, thanks for the clarification! |
r? @notriddle