game-of-death

antagonistic game of life  https://xi.github.io/game-of-death/
git clone https://git.ce9e.org/game-of-death.git

commit
4eca3b5158e49d239745f9a39a2073d7135f3bb2
parent
3b213e54b60199ef2fb9208ec5a4e4c32aa663ec
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-01-16 05:22
add light mode

Diffstat

M style.css 10 ++++++++++

1 files changed, 10 insertions, 0 deletions


diff --git a/style.css b/style.css

@@ -1,4 +1,5 @@
    1     1 :root {
   -1     2     color-scheme: dark;
    2     3     --bg: #131518;
    3     4     --fg: #ccc;
    4     5     --border: black;
@@ -9,6 +10,15 @@
    9    10     --player4: #984ea3;
   10    11 }
   11    12 
   -1    13 @media (prefers-color-scheme: light) {
   -1    14     :root {
   -1    15         color-scheme: light;
   -1    16         --bg: #fff;
   -1    17         --fg: #131518;
   -1    18         --border: #888;
   -1    19     }
   -1    20 }
   -1    21 
   12    22 :root {
   13    23     box-sizing: border-box;
   14    24 }