From 4eae0eed4e460454af13721b7ba71081a020098b Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:16:19 +0800 Subject: [PATCH] Adjust footer paddings --- src/_includes/global/footer.njk | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/_includes/global/footer.njk b/src/_includes/global/footer.njk index 00e912a8..f254c486 100644 --- a/src/_includes/global/footer.njk +++ b/src/_includes/global/footer.njk @@ -21,7 +21,7 @@ margin-top: auto; width: 100%; background: var(--clr-main-footer-bg); - padding: 1rem 1rem 3rem 1rem; + padding: 1.5rem 1rem clamp(2rem, calc(100% - 2rem), 3rem); text-align: center; display: grid; gap: 0.3em; @@ -53,18 +53,4 @@ gap: 0.7em; justify-self: center; } - - /* Screen sizes larger than mobile */ - @media only screen and (min-width: 30rem) { - .footer { - padding: 1rem 1rem 2rem 1rem; - } - } - - /* Tablet screen size */ - @media only screen and (min-width: 43.75rem) { - .footer { - padding: 1rem; - } - } \ No newline at end of file