diff --git a/public/css/style.css b/public/css/style.css index e0ab609..4f4a6d4 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -31,11 +31,33 @@ th { background-color: #f4f4f4; } /* Stile für Zellen in Rangliste/Rundenansicht */ td.tipp-cell { text-align: center !important; position: relative; } -td.tipp-cell.col_exact { background-color: #28a745 !important; color: white; } /* Exaktes Ergebnis */ -td.tipp-cell.col_diff { background-color: #ffc107 !important; } /* Richtige Tordifferenz */ -td.tipp-cell.col_tendenz { background-color: #17a2b8 !important; color: white; } /* Richtige Tendenz */ -td.tipp-cell.col_joker_exact { background-color: #6f42c1 !important; color: white; } /* Exaktes Ergebnis mit Joker */ +td.tipp-cell.col_exact { background-color: orange !important; color: white; } /* Exaktes Ergebnis */ +td.tipp-cell.col_diff { background-color: gold !important; } /* Richtige Tordifferenz */ +td.tipp-cell.col_tendenz { background-color: grey !important; color: white; } /* Richtige Tendenz */ +td.tipp-cell.col_joker_exact { background-color: red !important; color: white; } /* Exaktes Ergebnis mit Joker */ .round-filter { margin-bottom: 20px; } .joker-icon { font-size: 0.7em; vertical-align: top; } th.game-header { white-space: normal; } + +/* Legende */ +.legend { + margin: 20px 0; + padding: 10px; + border: 1px solid #ccc; + background-color: #f9f9f9; + display: flex; + flex-wrap: wrap; + gap: 15px; + align-items: center; +} +.legend-item { + display: flex; + align-items: center; + gap: 5px; +} +.legend-color { + width: 20px; + height: 20px; + border: 1px solid #666; +} diff --git a/src/Views/ranking.php b/src/Views/ranking.php index 3b5b98a..bc241c6 100644 --- a/src/Views/ranking.php +++ b/src/Views/ranking.php @@ -30,6 +30,15 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR +