From 6d307f457b1a880cb4eecbc882ab069d11ebb2eb Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Mon, 23 Sep 2024 17:54:34 +0200 Subject: [PATCH] footer styles --- _includes/footer.css | 44 +++++++++++++++++++++++++++++++++++++++++--- _includes/footer.njk | 18 ++++++++++-------- 2 files changed, 51 insertions(+), 11 deletions(-) diff --git a/_includes/footer.css b/_includes/footer.css index 887f27d..7cb0951 100644 --- a/_includes/footer.css +++ b/_includes/footer.css @@ -1,27 +1,65 @@ footer { border-top: 1px dotted rgba(0,0,0,.15); - padding: 4rem 0; + padding: 4rem 0 5.5rem; } #footerNav ul { margin: 0; padding: 0; display: flex; - gap: 1em; + gap: 1.3em; } #footerNav li { display: inline; } +#footerNav a { + color: var(--color-text); + text-decoration: none; + transition: color .3s ease-out; +} + +#footerNav a:hover { + color: var(--color-primary); +} + .footer-container { display: grid; grid-template-columns: auto auto; + grid-template-rows: auto auto; grid-auto-flow: column; - grid-template-rows: 1fr 1fr; gap: 1em; } .footer-container > :nth-last-child(-n + 2) { text-align: end; } + +.designCredit { + font-size: 1rem; + align-self: end; +} + +.designCredit a { + color: var(--color-text); + font-size: 1rem; + font-weight: 500; + text-decoration: none; + border-bottom: 1px dotted var(--color-text); +} + +.languageSwitch a { + display: inline-block; + background: #e2e8f0; + color: #000; + border-radius: .5rem; + padding: 0.7em 0.9em; + line-height: 1; + text-decoration: none; + transition: background-color .3s ease-out; +} + +.languageSwitch a:hover { + background: #d5dbe4; +} diff --git a/_includes/footer.njk b/_includes/footer.njk index e54f022..e488ee1 100644 --- a/_includes/footer.njk +++ b/_includes/footer.njk @@ -1,17 +1,19 @@