From 75298991e745ea094e7494849a6535173d2c6833 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Wed, 1 Dec 2021 15:11:20 +0000 Subject: [PATCH] add styling for timer --- src/game_styles.css | 12 ++++++++++++ src/styles.css | 34 ++-------------------------------- 2 files changed, 14 insertions(+), 32 deletions(-) diff --git a/src/game_styles.css b/src/game_styles.css index d0e9e4f..c1323d0 100644 --- a/src/game_styles.css +++ b/src/game_styles.css @@ -49,6 +49,18 @@ background: var(--good); } +#time { + background: var(--blue); +} + +#gameinfo { + display: flex; +} + +#gameinfo * { + margin: 0 0.5em 0 0.5em; +} + #previousQuestionAnswer { background: var(--green) } #game .answer { diff --git a/src/styles.css b/src/styles.css index 1e59a0e..34463ba 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,3 +1,5 @@ +@import url("https://alv.cx/styles.css"); + :root { --default-bg: #fefefe; --dark-bg: #b8b8b8; @@ -32,35 +34,3 @@ body { } } -a { color: #07a; } -a:visited { color: #941352; } - -img[class="centered"] { - margin: 0 auto; - display: block; -} - -table { - border-collapse: collapse; - margin: 1em auto; -} -th, td { - padding: 1em; - border: 1px solid #454545; - margin: 0; -} - - -pre { - background-color: #d9d9d9 ; - color: #000; - padding: 1em; -} - -details { - padding: 1em 0 1em 0; -} - -li { - margin-bottom: 1em; -}