Do not fill child backgrounds in dark mode (#1768)

Small change which allows users to style the body background with dark mode enabled, without having to style the child elements (a, h1) as well.
This commit is contained in:
Dave Madison
2024-12-10 20:26:18 -06:00
committed by GitHub
parent 7ebbcfe360
commit b541d9cd9c
+2 -1
View File
@@ -112,7 +112,8 @@ const char HTTP_STYLE[] PROGMEM = "<style>"
"button.D{background-color:#dc3630}"
"button:active{opacity:50% !important;cursor:wait;transition-delay: 0s}"
// invert
"body.invert,body.invert a,body.invert h1 {background-color:#060606;color:#fff;}"
"body.invert{background-color:#060606;}"
"body.invert,body.invert a,body.invert h1 {color:#fff;}"
"body.invert .msg{color:#fff;background-color:#282828;border-top:1px solid #555;border-right:1px solid #555;border-bottom:1px solid #555;}"
"body.invert .q[role=img]{-webkit-filter:invert(1);filter:invert(1);}"
":disabled {opacity: 0.5;}"