From 1d8bcaf080eb106e8f430cd5ae13f40c08f975c3 Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Wed, 2 Oct 2024 12:16:01 +0200 Subject: [PATCH] refactor link styles --- _includes/footer.css | 4 ++-- _includes/footer.njk | 6 +++--- _includes/index.css | 12 ++++++------ _includes/index.njk | 6 +++--- _includes/page.css | 4 ++-- eleventy.config.js | 2 -- 6 files changed, 16 insertions(+), 18 deletions(-) diff --git a/_includes/footer.css b/_includes/footer.css index 912ef50..164c5f1 100644 --- a/_includes/footer.css +++ b/_includes/footer.css @@ -52,7 +52,7 @@ footer { border-bottom: 1px dotted var(--color-text); } -.languageSwitch a { +.languageSwitch { display: inline-block; background: #e2e8f0; color: #000; @@ -63,7 +63,7 @@ footer { transition: background-color .3s ease-out; } -.languageSwitch a:hover { +.languageSwitch:hover { background: #d5dbe4; } diff --git a/_includes/footer.njk b/_includes/footer.njk index e789095..a910e9a 100644 --- a/_includes/footer.njk +++ b/_includes/footer.njk @@ -1,8 +1,8 @@