From 1c58a463f76227b3776538bf698248de9931fd16 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Tue, 22 Sep 2026 10:49:58 +0200 Subject: [PATCH] Darker wiki tile hover, spacing and background image on the raid attendance page Co-Authored-By: Claude Opus 5 --- assets/css/style.css | 5 ++++- includes/header.php | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/css/style.css b/assets/css/style.css index 76063d2..5c4f297 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -2632,6 +2632,7 @@ a.button-small:hover { text-decoration: none; } align-items: center; flex-wrap: wrap; gap: 0.4rem; + margin: 1rem 0; font-size: 0.9rem; } @@ -4395,7 +4396,9 @@ body.home-page .navbar { color: var(--text); } -.wiki-subpage:hover { border-color: var(--gold); text-decoration: none; color: var(--text); } +.wiki-subpage { transition: background 0.15s ease, border-color 0.15s ease; } +/* Beim Drueberfahren dunkler, damit sich die Kachel vom Hintergrund abhebt */ +.wiki-subpage:hover { background: rgba(0, 0, 0, 0.45); border-color: var(--gold); text-decoration: none; color: var(--text); } .wiki-subpage-title { flex: 1; min-width: 0; } .wiki-subpage .wiki-wip { flex-shrink: 0; margin-left: auto; } diff --git a/includes/header.php b/includes/header.php index a019b21..5cf1b8c 100644 --- a/includes/header.php +++ b/includes/header.php @@ -96,6 +96,8 @@ $pageBackgrounds = [ 'dashboard.php' => 'bg-dashboard', 'profile.php' => 'bg-profile', 'raids.php' => 'bg-raids', + 'raid_attendance.php' => 'bg-raids', + 'change_password.php' => 'bg-profile', 'premades.php' => 'bg-premades', 'events.php' => 'bg-events', 'calendar.php' => 'bg-events',