From a003b0b2d8e818ca3a6353e19c28de6acd1bb590 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 5 Jun 2021 16:38:38 +0200 Subject: [PATCH] Update style --- jeux/assets/style.css | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/jeux/assets/style.css b/jeux/assets/style.css index 85d9cd1..1582402 100644 --- a/jeux/assets/style.css +++ b/jeux/assets/style.css @@ -8,15 +8,26 @@ html { } body { - max-width: 1600px; - margin: 0 auto; - padding: 0 20px; - height:100%; + height: 100%; + margin: 0; font-family: Arial, sans-serif; display: grid; grid-template-rows: auto 1fr auto; } +header { + background-color: rgb(40,53,131); + color: white; + margin-bottom: 20px; +} + +main, footer { + max-width: 1600px; + width: 100%; + margin: 0 auto; + padding: 0 20px; +} + .hidden { display: none; } @@ -40,10 +51,3 @@ header h1 { a { color: rgb(40,53,131); } - -header { - background-color: rgb(40,53,131); - color: white; - margin-top: 20px; - margin-bottom: 20px; -}