From 03ae959b5e70b83f45c60953524ecfbc3d50f5ba Mon Sep 17 00:00:00 2001 From: torsten Date: Sun, 4 Oct 2026 06:48:26 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Implementiere=20Harlekin-M=C3=BCtze=20a?= =?UTF-8?q?ls=20Joker-Icon=20via=20SVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (gemini/gemini-2.5-pro) --- public/css/style.css | 11 ++++++++++- public/icons/harlequin-hat.svg | 3 +++ src/Views/ranking.php | 4 ++-- src/Views/round.php | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 public/icons/harlequin-hat.svg diff --git a/public/css/style.css b/public/css/style.css index 6f2a858..9a4fad6 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -37,7 +37,16 @@ td.tipp-cell.col_tendenz { background-color: grey !important; color: white; } /* td.tipp-cell.col_joker_exact { background-color: red !important; color: white; } /* Exaktes Ergebnis mit Joker */ .round-filter { margin-bottom: 20px; } -.joker-icon { vertical-align: top; color: #6f42c1; padding-left: 4px; } /* Purple color for wizard hat */ +.joker-icon { + display: inline-block; + width: 1.1em; + height: 1.1em; + background-color: #6f42c1; /* Purple color */ + -webkit-mask: url(/icons/harlequin-hat.svg) no-repeat center; + mask: url(/icons/harlequin-hat.svg) no-repeat center; + vertical-align: text-bottom; + margin-left: 4px; +} th.game-header { white-space: normal; } /* Legende */ diff --git a/public/icons/harlequin-hat.svg b/public/icons/harlequin-hat.svg new file mode 100644 index 0000000..d9623f3 --- /dev/null +++ b/public/icons/harlequin-hat.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Views/ranking.php b/src/Views/ranking.php index c6c02ce..12a06cf 100644 --- a/src/Views/ranking.php +++ b/src/Views/ranking.php @@ -32,7 +32,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
🏆 Tagessieger
-
Joker gesetzt
+
Joker gesetzt
Exaktes Ergebnis
Exakt mit Joker
Richtige Differenz
@@ -78,7 +78,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR - + diff --git a/src/Views/round.php b/src/Views/round.php index 7c3ef3b..e8040e7 100644 --- a/src/Views/round.php +++ b/src/Views/round.php @@ -68,7 +68,7 @@ require __DIR__ . '/partials/header.php'; - +