From f4998ba9961687606143d53c314aa9c417df6007 Mon Sep 17 00:00:00 2001 From: adplantade Date: Fri, 31 Jul 2020 16:47:00 +0200 Subject: [PATCH] =?UTF-8?q?modes=20light/dark=20=C3=A9tendus=20sur=20tout?= =?UTF-8?q?=20le=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/game.css | 8 ++ code/game.html | 2 + code/highscores.css | 10 +- code/highscores.php | 206 ++++++++++++++++++++++-------------------- code/index.css | 10 -- code/index.php | 2 +- code/score.php | 5 + code/themeSwitcher.js | 6 +- 8 files changed, 136 insertions(+), 113 deletions(-) diff --git a/code/game.css b/code/game.css index 9ee364f..8323e35 100644 --- a/code/game.css +++ b/code/game.css @@ -13,6 +13,14 @@ } +.day { background: #eee; color: black; } +.night { background: #333; color: white; } + +.lightButton { + position: absolute; + right: 0px; +} + .flex-container { /* We first create a flex layout context */ display : flex; diff --git a/code/game.html b/code/game.html index 755305e..3ad4e83 100644 --- a/code/game.html +++ b/code/game.html @@ -7,6 +7,7 @@ +