From f1ceae33f4d14f866bf575e0e711269095bd5ac5 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 28 Apr 2025 17:18:03 +0200 Subject: [PATCH] theme sombre --- style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/style.css b/style.css index 1270fa9..c297817 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,7 @@ body { margin: 0; padding: 0; + background-color: white; font-family: Times, 'Times New Roman', Georgia, serif; } @@ -48,6 +49,7 @@ table.grille { height: 2rem; border: 1px solid black; padding: 2px; + background-color: white; } .grille tr:nth-of-type(2) td { @@ -179,3 +181,11 @@ button[type="submit"]:active { -ms-text-size-adjust: 100%; } } + +@media (prefers-color-scheme: dark) { + body, + button { + background-color: #02081a; + color: #c6c6c6; + } +}