I fixed a few bugs#102
Open
FlyHappily123 wants to merge 2 commits into
Open
Conversation
Collaborator
Author
|
不是 |
Collaborator
Author
|
手抖成啥了 |
There was a problem hiding this comment.
Pull request overview
Updates the O2 Luogu userstyle with small scope/selector adjustments and site-specific tweaks.
Changes:
- Bumps the userstyle version to
2.3.0.23. - Broadens the global
@-moz-documentscope to cover all*.luogu.com(.cn)subdomains. - Adjusts header/footer background selectors, adds
teamroute to the “new bar” scope, and adds a couple ofclass.luogu.comstyle overrides.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+2484
to
2485
| .main-container > .wrapped.lfe-body:not(.tiny) | ||
| background: Header-bg-color !important if !Anti-HeaderFooter |
There was a problem hiding this comment.
The “页首修改” rule no longer targets .main-container > header.theme-bg (it used to), so Header-bg-color won’t apply to the actual header unless the separate header-animation/optimize logic happens to run. This looks like a functional regression for users with Better-Header-ani/Header-Optimize disabled. Consider restoring a selector for header.theme-bg (and/or the header .background element) so the header background is consistently themed when !Anti-HeaderFooter.
Suggested change
| .main-container > .wrapped.lfe-body:not(.tiny) | |
| background: Header-bg-color !important if !Anti-HeaderFooter | |
| .main-container > .wrapped.lfe-body:not(.tiny),#app .main-container > header.theme-bg | |
| background: Header-bg-color !important if !Anti-HeaderFooter | |
| if !Anti-HeaderFooter | |
| & .background | |
| background: none !important |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.