style: hero card curvature shine, smaller fullbleed flags, tighter LED
- Hero: added glossy ::before shine gradient (top 45%) for curvature/Wölbung - Flags: 64px, object-fit:cover (flag fills entire box), glassmorphism shine - LED: slightly smaller (26px), tighter digit spacing (18px), stronger glow - Backdrop blur increased to 24px Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,18 +16,32 @@
|
|||||||
padding: 28px 22px 22px;
|
padding: 28px 22px 22px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/* Glassmorphism like Stitch design */
|
/* Glassmorphism with curvature shine */
|
||||||
background: rgba(49, 52, 66, 0.4);
|
background: rgba(49, 52, 66, 0.45);
|
||||||
backdrop-filter: blur(20px);
|
backdrop-filter: blur(24px);
|
||||||
-webkit-backdrop-filter: blur(20px);
|
-webkit-backdrop-filter: blur(24px);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 40px 80px -15px rgba(0, 0, 0, 0.6),
|
0 40px 80px -15px rgba(0, 0, 0, 0.6),
|
||||||
0 8px 24px rgba(0, 0, 0, 0.3),
|
0 8px 24px rgba(0, 0, 0, 0.3),
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
||||||
transition: transform 0.2s;
|
transition: transform 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Glossy curvature shine — top highlight */
|
||||||
|
.hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 45%;
|
||||||
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
|
border-radius: 2rem 2rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.hero:hover {
|
.hero:hover {
|
||||||
transform: scale(1.01);
|
transform: scale(1.01);
|
||||||
}
|
}
|
||||||
@@ -103,33 +117,28 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ledDigit, .ledColon {
|
||||||
|
font-family: 'DSEG7', 'Courier New', monospace;
|
||||||
|
font-size: 26px;
|
||||||
|
color: #FECC4C;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow:
|
||||||
|
0 0 3px rgba(254, 174, 50, 1),
|
||||||
|
0 0 8px rgba(254, 174, 50, 0.7),
|
||||||
|
0 0 20px rgba(254, 174, 50, 0.4),
|
||||||
|
0 0 40px rgba(254, 174, 50, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ledDigit {
|
.ledDigit {
|
||||||
font-family: 'DSEG7', 'Courier New', monospace;
|
width: 18px;
|
||||||
font-size: 28px;
|
|
||||||
color: #FECC4C;
|
|
||||||
display: inline-block;
|
|
||||||
width: 20px;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow:
|
|
||||||
0 0 4px rgba(254, 174, 50, 0.9),
|
|
||||||
0 0 12px rgba(254, 174, 50, 0.6),
|
|
||||||
0 0 28px rgba(254, 174, 50, 0.35),
|
|
||||||
0 0 48px rgba(254, 174, 50, 0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ledColon {
|
.ledColon {
|
||||||
font-family: 'DSEG7', 'Courier New', monospace;
|
width: 8px;
|
||||||
font-size: 28px;
|
|
||||||
color: #FECC4C;
|
|
||||||
display: inline-block;
|
|
||||||
width: 10px;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow:
|
|
||||||
0 0 4px rgba(254, 174, 50, 0.9),
|
|
||||||
0 0 12px rgba(254, 174, 50, 0.6),
|
|
||||||
0 0 28px rgba(254, 174, 50, 0.35);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.heroGroup {
|
.heroGroup {
|
||||||
@@ -160,12 +169,13 @@
|
|||||||
|
|
||||||
.heroCrestBox {
|
.heroCrestBox {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 80px;
|
width: 64px;
|
||||||
height: 80px;
|
height: 64px;
|
||||||
border-radius: 20px;
|
border-radius: 16px;
|
||||||
background: var(--surface-high);
|
background: var(--surface-high);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 8px 24px rgba(0, 0, 0, 0.4);
|
0 8px 24px rgba(0, 0, 0, 0.4),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -173,21 +183,36 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Glossy shine on flag box */
|
||||||
|
.heroCrestBox::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 40%;
|
||||||
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 2;
|
||||||
|
border-radius: 16px 16px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Glow aura behind each flag */
|
/* Glow aura behind each flag */
|
||||||
.heroCrestBox::before {
|
.heroCrestBox::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: -16px;
|
inset: -12px;
|
||||||
background: rgba(75, 183, 248, 0.2);
|
background: rgba(75, 183, 248, 0.18);
|
||||||
filter: blur(24px);
|
filter: blur(20px);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Flag fills the entire box */
|
||||||
.heroCrest {
|
.heroCrest {
|
||||||
width: 58px;
|
width: 100%;
|
||||||
height: 58px;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heroCrestFallback {
|
.heroCrestFallback {
|
||||||
|
|||||||
Reference in New Issue
Block a user