chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
.stats {
|
||||
border-top: 1px solid var(--charcoal);
|
||||
border-bottom: 1px solid var(--charcoal);
|
||||
background: var(--iron);
|
||||
}
|
||||
.row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.stat {
|
||||
padding: 48px 24px;
|
||||
text-align: center;
|
||||
border-right: 1px solid var(--charcoal);
|
||||
transition: background 250ms ease;
|
||||
}
|
||||
.stat:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
.stat:hover {
|
||||
background: var(--charcoal);
|
||||
}
|
||||
.num {
|
||||
font-size: clamp(40px, 5vw, 64px);
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
color: var(--gold);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.label {
|
||||
margin-top: 12px;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.96px;
|
||||
color: var(--steel);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.row {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.stat {
|
||||
border-bottom: 1px solid var(--charcoal);
|
||||
}
|
||||
.stat:nth-child(3n) {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.row {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
.stat {
|
||||
padding: 32px 12px;
|
||||
}
|
||||
.num {
|
||||
font-size: 36px;
|
||||
}
|
||||
.label {
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
.stat:nth-child(3n) {
|
||||
border-right: 1px solid var(--charcoal);
|
||||
}
|
||||
.stat:nth-child(2n) {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user