From c6f023dccb210b6471085e301f4b5fe8664cf076 Mon Sep 17 00:00:00 2001 From: ben7sys Date: Sun, 17 Nov 2024 09:17:46 +0100 Subject: [PATCH] =?UTF-8?q?Verbesserte=20Standardansicht=20mit=20subtilen?= =?UTF-8?q?=20Hintergr=C3=BCnden=20Entfernung=20der=20dimensionalen=20Effe?= =?UTF-8?q?kte=20im=20Normalzustand=20Beibehaltung=20der=20bew=C3=A4hrten?= =?UTF-8?q?=20Hover-Effekte=20Konsistentes=20Design=20zwischen=20Header=20?= =?UTF-8?q?und=20Footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/footer.css | 49 ++++++++++++++++++++++++++++++++++++------- public/css/header.css | 30 +++++++++++++++++++++++--- 2 files changed, 69 insertions(+), 10 deletions(-) diff --git a/public/css/footer.css b/public/css/footer.css index 155e2e7..33c154c 100644 --- a/public/css/footer.css +++ b/public/css/footer.css @@ -35,13 +35,18 @@ footer { } .contact-item a { - color: var(--text-muted); + color: var(--text); text-decoration: none; - transition: color var(--transition-speed) ease; + transition: all 0.3s ease; + padding: 0.3rem 0.5rem; + border-radius: var(--border-radius); + background-color: rgba(var(--bg-hover-rgb), 0.4); } .contact-item a:hover { color: var(--primary); + background-color: var(--bg-card); + transform: translateY(-1px); } .contact-item:hover .signal-icon { @@ -55,29 +60,59 @@ footer { } .social-links a { - color: var(--text-muted); + color: var(--text); text-decoration: none; - transition: color var(--transition-speed) ease; + transition: all 0.3s ease; + padding: 0.5rem; + border-radius: var(--border-radius); font-size: 1.5rem; + background-color: rgba(var(--bg-hover-rgb), 0.4); } .social-links a:hover { color: var(--primary); + background-color: var(--bg-card); + transform: translateY(-2px); } .legal-links { text-align: center; - font-size: 0.9rem; + font-size: 0.95rem; color: var(--text-muted); + padding-top: var(--spacing-md); } .legal-links a { - color: var(--text-muted); + color: var(--text); text-decoration: none; margin: 0 var(--spacing-sm); - transition: color var(--transition-speed) ease; + transition: all 0.3s ease; + padding: 0.4rem 0.8rem; + border-radius: var(--border-radius); + position: relative; + background-color: rgba(var(--bg-hover-rgb), 0.4); + font-weight: 500; + letter-spacing: 0.2px; +} + +.legal-links a::after { + content: ''; + position: absolute; + width: 0; + height: 2px; + bottom: 0; + left: 50%; + background-color: var(--primary); + transition: all 0.3s ease; + transform: translateX(-50%); } .legal-links a:hover { color: var(--primary); + background-color: var(--bg-card); + transform: translateY(-1px); +} + +.legal-links a:hover::after { + width: calc(100% - 1.6rem); } diff --git a/public/css/header.css b/public/css/header.css index c6963cd..380ad30 100644 --- a/public/css/header.css +++ b/public/css/header.css @@ -31,7 +31,7 @@ header { } .logo-text { - font-size: 2.2rem; + font-size: 1.7rem; font-weight: bold; text-align: center; line-height: 1; @@ -52,12 +52,36 @@ header { .nav-menu a { color: var(--text); text-decoration: none; - font-size: 1rem; - transition: var(--theme-transition); + font-size: 1.05rem; + font-weight: 500; + transition: all 0.3s ease; + padding: 0.5rem 0.8rem; + border-radius: var(--border-radius); + position: relative; + background-color: rgba(var(--bg-hover-rgb), 0.4); + letter-spacing: 0.3px; +} + +.nav-menu a::after { + content: ''; + position: absolute; + width: 0; + height: 2px; + bottom: 0; + left: 50%; + background-color: var(--primary); + transition: all 0.3s ease; + transform: translateX(-50%); } .nav-menu a:hover { color: var(--primary); + background-color: var(--bg-card); + transform: translateY(-1px); +} + +.nav-menu a:hover::after { + width: calc(100% - 1.6rem); } .theme-toggle {