initial commit
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
/* ============================================================
|
||||
ABOUT — LAYOUT C
|
||||
Reversed 40/60 split: decorative image panel left,
|
||||
rich text content right. Bold visual weight on left.
|
||||
============================================================ */
|
||||
|
||||
.about-c {
|
||||
padding: 6rem 0;
|
||||
background-color: var(--color-surface);
|
||||
transition: background-color 0.4s ease;
|
||||
}
|
||||
|
||||
.about-c-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 3fr;
|
||||
gap: 5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ── Left: image panel ─────────────────────────────────── */
|
||||
.about-c-visual {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-c-img-placeholder {
|
||||
aspect-ratio: 4/5;
|
||||
background-color: var(--card-bg);
|
||||
border: 1px solid var(--card-border);
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.about-c-img-placeholder::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, var(--color-primary-soft) 0%, transparent 60%);
|
||||
}
|
||||
|
||||
.about-c-img-label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-text-muted);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Floating accent card on image */
|
||||
.about-c-img-card {
|
||||
position: absolute;
|
||||
bottom: 1.5rem;
|
||||
right: -1.5rem;
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-btn-text);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1rem 1.25rem;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 700;
|
||||
box-shadow: 0 8px 24px var(--color-shadow);
|
||||
z-index: 2;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about-c-img-card-num {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.6rem;
|
||||
font-weight: 900;
|
||||
display: block;
|
||||
line-height: 1;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
/* ── Right: content ────────────────────────────────────── */
|
||||
.about-c-content {}
|
||||
|
||||
.about-c-content .section-title { margin-bottom: 1rem; }
|
||||
|
||||
.about-c-body {
|
||||
font-size: 0.95rem;
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.85;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.about-c-body + .about-c-body { margin-bottom: 2rem; }
|
||||
|
||||
/* ── Inline stats ──────────────────────────────────────── */
|
||||
.about-c-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.about-c-stat {
|
||||
padding: 1.25rem;
|
||||
background-color: var(--card-bg);
|
||||
border: 1px solid var(--card-border);
|
||||
border-radius: var(--radius-md);
|
||||
transition: border-color 0.3s ease, transform 0.3s ease;
|
||||
}
|
||||
|
||||
.about-c-stat:hover {
|
||||
border-color: var(--card-hover-border);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.about-c-stat-num {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.8rem;
|
||||
font-weight: 900;
|
||||
color: var(--color-primary);
|
||||
line-height: 1;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.about-c-stat-label {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
/* ── Tags ──────────────────────────────────────────────── */
|
||||
.about-c-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.about-c-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-c-tag:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
background-color: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
/* ── Responsive ─────────────────────────────────────────── */
|
||||
@media (max-width: 900px) {
|
||||
.about-c-inner {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.about-c-img-placeholder { aspect-ratio: 16/7; }
|
||||
.about-c-img-card { right: 1rem; }
|
||||
}
|
||||
Reference in New Issue
Block a user