style: real LED segment display font for kickoff time
Build & Deploy Tippspiel / build (push) Successful in 51s
Build & Deploy Tippspiel / build (push) Successful in 51s
- Added DSEG7 font (stadium scoreboard segment display) - Kickoff time centered in card, no box, just glowing LED digits - Gold color with double text-shadow glow for authentic look Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -77,18 +77,20 @@
|
||||
border: 1px solid rgba(75,183,248,0.15);
|
||||
}
|
||||
|
||||
/* Kickoff — stadium scoreboard display */
|
||||
.kickoffDisplay {
|
||||
font-family: 'Courier New', 'Lucida Console', monospace;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
/* Kickoff — stadium LED segment display */
|
||||
.kickoffRow {
|
||||
text-align: center;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.kickoffLED {
|
||||
font-family: 'DSEG7', 'Courier New', monospace;
|
||||
font-size: 26px;
|
||||
color: var(--gold);
|
||||
letter-spacing: 0.12em;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
padding: 3px 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(254, 174, 50, 0.15);
|
||||
text-shadow: 0 0 8px rgba(254, 174, 50, 0.5);
|
||||
letter-spacing: 0.08em;
|
||||
text-shadow:
|
||||
0 0 8px rgba(254, 174, 50, 0.6),
|
||||
0 0 20px rgba(254, 174, 50, 0.25);
|
||||
}
|
||||
|
||||
.topRowSpacer {
|
||||
|
||||
@@ -84,7 +84,7 @@ export default function MatchCard({ match, onTip }: Props) {
|
||||
return (
|
||||
<div className={`card ${styles.card} ${styles[`card_${state}`]} ${isLive ? styles.live : ''} ${glowClass}`}>
|
||||
|
||||
{/* Top row: Group + Kickoff (stadium display) + Countdown */}
|
||||
{/* Top row: Group + Countdown */}
|
||||
<div className={styles.topRow}>
|
||||
{(isLive || isFinished) && (
|
||||
<span className={`${styles.status} ${isLive ? styles.statusLive : ''}`}>
|
||||
@@ -97,9 +97,6 @@ export default function MatchCard({ match, onTip }: Props) {
|
||||
{match.group.replace('GROUP_', 'Gruppe ')}
|
||||
</span>
|
||||
)}
|
||||
{!isFinished && !isLive && (
|
||||
<span className={styles.kickoffDisplay}>{formatKickoff(match.utcDate)}</span>
|
||||
)}
|
||||
<span className={styles.topRowSpacer} />
|
||||
{(state === 'open' || state === 'tipped') && match.tippable && (
|
||||
<span className={`${styles.badge} ${remainingMins < 60 ? styles.badgeUrgent : ''} ${remainingMins < 5 ? styles.countdownUrgent : ''}`}>
|
||||
@@ -116,6 +113,13 @@ export default function MatchCard({ match, onTip }: Props) {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Kickoff — stadium LED display, centered */}
|
||||
{!isFinished && !isLive && (
|
||||
<div className={styles.kickoffRow}>
|
||||
<span className={styles.kickoffLED}>{formatKickoff(match.utcDate)}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Teams + Score */}
|
||||
<div className={styles.matchRow}>
|
||||
{/* Home */}
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
WM 2026 Tippspiel — Stadium Elite Design System
|
||||
============================================================ */
|
||||
|
||||
/* Stadium LED Segment Display Font */
|
||||
@font-face {
|
||||
font-family: 'DSEG7';
|
||||
src: url('https://cdn.jsdelivr.net/npm/dseg@0.46.0/fonts/DSEG7-Classic/DSEG7Classic-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* --- Dark Mode (Standard) --- */
|
||||
:root {
|
||||
--bg-deep: #0A0E1A;
|
||||
|
||||
Reference in New Issue
Block a user