initial commit
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
/* ============================================================
|
||||
ABOUT — LAYOUT B
|
||||
Full-width centered text block. Stats row inline below.
|
||||
No split — content breathes with generous whitespace.
|
||||
============================================================ */
|
||||
|
||||
.about-b {
|
||||
padding: 6rem 0;
|
||||
background-color: var(--color-bg);
|
||||
transition: background-color 0.4s ease;
|
||||
}
|
||||
|
||||
/* ── Top: centered text block ──────────────────────────── */
|
||||
.about-b-text {
|
||||
max-width: 680px;
|
||||
margin: 0 auto 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-b-text .section-title {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.about-b-body {
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.85;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.about-b-body + .about-b-body { margin-bottom: 2rem; }
|
||||
|
||||
.about-b-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ── Stats bar ─────────────────────────────────────────── */
|
||||
.about-b-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
margin-bottom: 4rem;
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.about-b-stat {
|
||||
padding: 2rem 1.5rem;
|
||||
text-align: center;
|
||||
border-right: 1px solid var(--color-border);
|
||||
transition: background-color 0.3s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-b-stat:last-child { border-right: none; }
|
||||
|
||||
.about-b-stat::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0; left: 0; right: 0;
|
||||
height: 3px;
|
||||
background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
|
||||
transform: scaleX(0);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.about-b-stat:hover { background-color: var(--color-surface); }
|
||||
.about-b-stat:hover::after { transform: scaleX(1); }
|
||||
|
||||
.about-b-stat-number {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 2.4rem;
|
||||
font-weight: 900;
|
||||
color: var(--color-primary);
|
||||
line-height: 1;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.about-b-stat-label {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-text-muted);
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.about-b-stat-desc {
|
||||
font-size: 0.8rem;
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* ── Tags row ──────────────────────────────────────────── */
|
||||
.about-b-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
justify-content: center;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.about-b-tag {
|
||||
display: inline-block;
|
||||
padding: 0.35rem 0.9rem;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid var(--color-border);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text-muted);
|
||||
background-color: var(--color-surface);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.about-b-tag:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
background-color: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ── Team strip ────────────────────────────────────────── */
|
||||
.about-b-team {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.about-b-team-avatars {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.about-b-team-avatars span {
|
||||
width: 40px; height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--color-bg);
|
||||
background-color: var(--color-surface-2);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 0.72rem; font-weight: 700;
|
||||
color: var(--color-text);
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.about-b-team-avatars span:last-child {
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-btn-text);
|
||||
font-size: 0.65rem;
|
||||
}
|
||||
|
||||
.about-b-team-text {
|
||||
padding-left: 18px;
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.about-b-team-text strong {
|
||||
color: var(--color-heading);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ── Responsive ─────────────────────────────────────────── */
|
||||
@media (max-width: 700px) {
|
||||
.about-b-stats { grid-template-columns: 1fr 1fr; }
|
||||
.about-b-stat:nth-child(2) { border-right: none; }
|
||||
.about-b-stat:nth-child(3),
|
||||
.about-b-stat:nth-child(4) { border-top: 1px solid var(--color-border); }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.about-b-stats { grid-template-columns: 1fr; }
|
||||
.about-b-stat { border-right: none; border-bottom: 1px solid var(--color-border); }
|
||||
}
|
||||
Reference in New Issue
Block a user