fix(crt): shrinking xp bar and hints not glowing (NadAlaba) (#5447)

* fix xp Bar shrinking in width when crt is enabled

* fix hints not glowing in crt mode
This commit is contained in:
Nad Alaba 2024-05-28 11:34:48 +03:00 committed by GitHub
parent 272d61cd0a
commit f4d121c250
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,7 @@ body.crtmode #result,
body.crtmode #popups,
body.crtmode #notificationCenter,
body.crtmode .word.error,
body.crtmode .word .hints hint,
body.crtmode input,
body.crtmode button,
body.crtmode textarea,
@ -115,7 +116,10 @@ body.crtmode #logo .icon {
body.crtmode .avatars,
body.crtmode nav .account .avatar,
body.crtmode nav .account .levelAndBar,
/* Adding `filter` style to .levelAndBar would make it
the containing block for the absolute positioned .xpBar */
body.crtmode nav .account .levelAndBar .level,
body.crtmode nav .account .levelAndBar .xpBar,
body.crtmode header.focus #logo .icon {
filter: drop-shadow(3px 0px 1px var(--crt-sub-color-glow))
drop-shadow(-3px 0px 0px var(--crt-sub-color-glow));