Files
rohitg00--agentmemory/website/components/Stats.module.css
T
wehub-resource-sync 979fb22d7c
CI / test (20, macos-latest) (push) Waiting to run
CI / test (20, ubuntu-latest) (push) Waiting to run
CI / test (22, macos-latest) (push) Waiting to run
CI / test (22, ubuntu-latest) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:18 +08:00

71 lines
1.2 KiB
CSS

.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;
}
}