From b65d25f66a757abb5409ddfb89be6c663e82028d Mon Sep 17 00:00:00 2001 From: nessi Date: Sat, 7 Feb 2026 12:33:10 +0100 Subject: [PATCH] Refine UI styles for improved layout and visual consistency Updated component and HUD styles to add better alignment, spacing, and consistent radius values. Enhanced background effects and shadows for a more polished and subtle appearance. Adjusted layout properties to ensure proper stretching and alignment of elements. --- frontend/src/App.jsx | 29 ++++++++++++++++++----------- frontend/src/AppLayout.css | 3 +-- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index cbd17ad..d332234 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -427,36 +427,42 @@ export default function App() { const GOLD = "#f2d27a"; return ( + // SLOT: gleiche "Card"-Geometrie wie deine Placeholders (Spacing/Radius)
+ {/* PAPER inset: füllt den Slot, aber mit eigenen Rundungen */}
{/* Papier-Flecken */} @@ -499,7 +505,7 @@ export default function App() { style={{ color: GOLD, fontWeight: 900, - fontSize: 52, // etwas größer, weil mehr Platz + fontSize: 52, letterSpacing: 0.6, lineHeight: 1, textShadow: @@ -553,6 +559,7 @@ export default function App() { + return ( diff --git a/frontend/src/AppLayout.css b/frontend/src/AppLayout.css index d708471..b8fe96c 100644 --- a/frontend/src/AppLayout.css +++ b/frontend/src/AppLayout.css @@ -130,8 +130,7 @@ body { /* HUD */ .playerHud { - height: 100%; - min-height: 0; + align-items: stretch; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1.7fr 1.1fr;