From 915c61f146064a7ad3cfd3167aa7dffc9d9e4cac Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 20 Oct 2022 20:37:25 +0100 Subject: [PATCH] Position Footer --- style/new_style.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/style/new_style.css b/style/new_style.css index 44edc46..99232d4 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -107,15 +107,23 @@ body { width: 90%; margin: auto; margin-top: 20px; + margin-bottom: 40px; color: azure; } /* FOOTER */ footer { + position: absolute; width: 100%; background-color: darkslategrey; - text-align: center; + height: 30px; } -@media screen and (min-width: 800px) and (min-height: 700px) { +footer p { + padding: 0; + margin-top: 6px; + text-align: center; + color: azure; +} +@media screen and (min-height: 600px) { footer { position: fixed; bottom: 0;