Captcha accessibility patch

This commit is contained in:
Minecon724 2025-03-15 13:40:21 +01:00
commit 369a7848fd
Signed by untrusted user who does not match committer: m724
GPG key ID: A02E6E67AB961189
2 changed files with 15 additions and 0 deletions

View file

@ -99,3 +99,9 @@
margin-left: 0 !important; margin-left: 0 !important;
} }
} }
.captcha-img {
width: min(400px, 100%);
/* rest in markup/dark.css */
}

View file

@ -11,3 +11,12 @@
.markup [href$="#dark-mode-only"] { .markup [href$="#dark-mode-only"] {
display: unset; display: unset;
} }
/*
git724 tweaks; the reason we're doing this here is because dark vanilla templates use this
there's no other way to do it
*/
.captcha-img {
filter: invert();
}