-body {
+:root {
+ color-scheme: light dark;
font-family: sans-serif;
background: white;
color: black;
margin-left: 0.5em;
margin-right: 0.5em;
}
-#lowdepthcontainer {
- font-size: x-small;
- margin-top: 0;
-}
#pvcontainer {
clear: left;
margin-top: 1em;
border-right: none;
}
-.pv, #pv, #history, #lowdepth .depth { /* Mute move colors a bit. */
+.pv, #pv, #history { /* Mute move colors a bit. */
color: #555;
}
+.imbalance-inverted-piece {
+ display: none;
+ filter: invert(1);
+}
+
@media (prefers-color-scheme: dark) {
-body {
+:root {
background: black;
color: #eee;
}
a:link {
color: rgb(128,128,238);
}
-
+.imbalance-piece {
+ display: none;
+}
+.imbalance-inverted-piece {
+ display: initial;
}