From c41b1f139cd092d70d557e4f8cf4b7b983621c65 Mon Sep 17 00:00:00 2001 From: torsten Date: Sun, 4 Oct 2026 06:19:01 +0200 Subject: [PATCH] fix: Behebe Farbkonflikt und zentriere numerische Tabellenspalten Co-authored-by: aider (gemini/gemini-2.5-pro) --- public/css/style.css | 5 ++++- src/Views/ranking.php | 16 ++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 44bbb12..3deea77 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -12,7 +12,10 @@ table { } th, td { border: 1px solid #ccc; padding: 8px; text-align: left; } th { background-color: #f4f4f4; } -tr:nth-child(even) { background-color: #f9f9f9; } +/* tr:nth-child(even) { background-color: #f9f9f9; } */ /* Deaktiviert, da es mit Zell-Farben interferiert */ + +/* Utility-Klassen */ +.text-center { text-align: center !important; } /* Container fΓΌr breite, scrollbare Tabellen (Rangliste, Rundenansicht) */ .table-container { diff --git a/src/Views/ranking.php b/src/Views/ranking.php index dde8980..26f8ac1 100644 --- a/src/Views/ranking.php +++ b/src/Views/ranking.php @@ -35,11 +35,11 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR - + - - - + + + - + - - - + + +
PlatzPlatz NameπŸ†Punkte (Gesamt)Punkte (Runde)πŸ†Punkte (Gesamt)Punkte (Runde)
@@ -52,11 +52,11 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
..