From a2c027eec0f476989cc3dd79d1219b40e292fc41 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 3 Apr 2023 22:09:04 +0000 Subject: [PATCH] fix site grid layout Signed-off-by: Arthur Lu --- css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/css/style.css b/css/style.css index 0e5bc82..376d09d 100644 --- a/css/style.css +++ b/css/style.css @@ -34,12 +34,21 @@ header, footer { max-width: 25ch; } +header { + grid-area: header; +} + main { + grid-area: main; background-color: var(--content-bkg-color); color: var(--content-txt-color); padding: 20px; } +footer { + grid-area: footer; +} + footer p { text-align: center; }