From 4b6cbc92146e4a5e17d89bd21307a1f984115605 Mon Sep 17 00:00:00 2001 From: AudricV <74829229+AudricV@users.noreply.github.com> Date: Thu, 16 Feb 2023 10:47:18 +0100 Subject: [PATCH] [Client] Refactor legal game style - Order properties alphabetically - Use colors variables from global style - Merge some common properties between selectors into a common declaration - Do some minor improvements --- truthinquiry/static/css/game_ui_legal.css | 28 +++++++++-------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/truthinquiry/static/css/game_ui_legal.css b/truthinquiry/static/css/game_ui_legal.css index f991a03..b21d620 100644 --- a/truthinquiry/static/css/game_ui_legal.css +++ b/truthinquiry/static/css/game_ui_legal.css @@ -1,40 +1,34 @@ +/* Common properties */ html { - background-color: black; -} - -body { + background-color: var(--game-black); + color: var(--game-white); font-family: "Roboto Mono", "sans-serif"; } +/* Legal links and texts */ +.legal_text_description, .legal_text_last_update, .legal_text_title { + margin: 0; + margin-bottom: 0.5em; + margin-top: 0.5em; +} + .legal_link { - color: #0096FF; + color: var(--game-blue); } .legal_text_title { font-family: "Spicy Rice", sans-serif; font-size: 2.5em; text-align: center; - margin-block-start: 0; - margin-block-end: 0; - margin-top: 0.5em; - margin-bottom: 0.5em; } .legal_text_last_update { font-family: "Titan One", serif; font-size: 1.5em; - margin-block-start: 0; - margin-block-end: 0; - margin-top: 0.5em; - margin-bottom: 0.5em; } .legal_text_description { font-size: 1.25em; - margin-block-start: 0; - margin-block-end: 0; - margin-top: 0.5em; - margin-bottom: 0.5em; } .legal_text_unordered_list {