From cf36809d28e614d9835d5d77ad1fc0b313a41398 Mon Sep 17 00:00:00 2001 From: DST81 Date: Sun, 17 May 2026 15:46:46 +0200 Subject: [PATCH] kleine Anpassungen css --- assets/css/custom.css | 21 ++++++++++++++------- index.html | 4 ++-- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 0dbb321..b5d264b 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -14,13 +14,15 @@ body { } .navbar .nav-link { color: #fff; - transition: color 0.3s, background-color 0.3s; + transition: color 0.3s, background-color 0.3s, border-color 0.3s; margin: 0 5px; + border: 2px solid transparent; + border-radius: 6px; } .navbar .nav-link:hover { - background-color: #ffd166; + background-color: rgba(255, 209, 102, 0.7); color: #1b1b2f; - border-radius: 6px; + border-color: rgba(255, 209, 102, 0.9); padding: 5px 10px; } @@ -28,6 +30,7 @@ body { background-color: #ffd166; color: #1b1b2f; font-weight: bold; + border: 2px solid #ffd166; border-radius: 6px; padding: 5px 10px; } @@ -121,20 +124,24 @@ p { } #sidebar .nav-link { margin: 0.5rem 0; - transition: color 0.3s, background-color 0.3s; + transition: color 0.3s, background-color 0.3s, border-color 0.3s; color: white; padding: 5px 10px; - border-radius: 6x; + border: 2px solid transparent; + border-radius: 6px; } #sidebar .nav-link:hover { color: #1b1b2f; + background-color: rgba(255, 209, 102, 0.7); + border-color: rgba(255, 209, 102, 0.9); border-radius: 6px; } #sidebar .nav-link.active { color: #1b1b2f; font-weight: bold; background-color: #ffd166; - border-radius: 6px; + border: 2px solid #ffd166; + border-radius: 6px; padding: 5px 10px; } #logo_img { @@ -276,4 +283,4 @@ p { .leaderboard-table tbody tr:last-child td { border-bottom: none; -} \ No newline at end of file +} diff --git a/index.html b/index.html index 9c84e94..de8ed3b 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@ /* Body Padding entfernen für sauberes Dashboard-Layout */ body { - padding: 0 !important; + padding: 0; overflow-x: hidden; /* Verhindert horizontales Scrollen durch Sidebar */ } @@ -137,4 +137,4 @@ - \ No newline at end of file +