From 3e4e26297ba4c25ab9a066d60fd84c494d252471 Mon Sep 17 00:00:00 2001 From: nessi Date: Sat, 7 Feb 2026 12:27:17 +0100 Subject: [PATCH] Refine HogwartsPointsCard styles for cleaner UI. Simplified and updated styling for the HogwartsPointsCard component by adjusting spacing, borders, shadows, and fonts. These refinements enhance visual consistency and improve readability across various design elements. --- frontend/src/App.jsx | 216 ++++++++++++++++++++----------------------- 1 file changed, 98 insertions(+), 118 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 973e5d2..a56f51c 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -424,147 +424,127 @@ export default function App() { }; const HogwartsPointsCard = ({ value = 0 }) => { - const GOLD = "#f2d27a"; - const GOLD2 = "#caa24a"; + const GOLD = "#f2d27a"; - return ( -
- {/* Header */} + return (
- Hogwarts Points -
- - {/* Pergament */} -
- {/* Papier-Flecken / Grain */} + {/* Pergament */}
- - {/* Goldene Innenlinie */} -
- - {/* Wert */} -
+ {/* Papier-Flecken */}
- {value} -
+ /> + {/* Innere Goldlinie */}
+ + {/* Wert */} +
- HP -
-
+
+ {value} +
- {/* Siegel */} -
- Score +
+ HP +
+
+ + {/* Siegel */} +
+ SCORE +
-
- ); -}; + ); + }; +