initial commit
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
/* ============================================================
|
||||
FOOTER — LAYOUT B
|
||||
Two rows: top = centered nav links, bottom = brand + copy.
|
||||
Airy, minimal, centered everything.
|
||||
============================================================ */
|
||||
|
||||
.footer-b {
|
||||
background-color: var(--footer-bg);
|
||||
padding: 3.5rem 0 0;
|
||||
transition: background-color 0.4s ease;
|
||||
}
|
||||
|
||||
/* ── Top row: nav columns centered ────────────────────── */
|
||||
.footer-b-nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 5rem;
|
||||
padding-bottom: 3rem;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.footer-b-col {}
|
||||
|
||||
.footer-b-col-title {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 0.78rem; font-weight: 700;
|
||||
letter-spacing: 0.1em; text-transform: uppercase;
|
||||
color: var(--color-heading);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
[data-theme="midnight"] .footer-b .footer-b-col-title,
|
||||
[data-theme="neon"] .footer-b .footer-b-col-title { color: #f0f6ff; }
|
||||
[data-theme="linen"] .footer-b .footer-b-col-title { color: #faf7f2; }
|
||||
[data-theme="petal"] .footer-b .footer-b-col-title { color: #fdf8ff; }
|
||||
|
||||
.footer-b-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.footer-b-links a {
|
||||
font-size: 0.88rem;
|
||||
color: var(--footer-text);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-b-links a:hover { color: var(--color-primary); }
|
||||
|
||||
/* ── Bottom row: brand center ──────────────────────────── */
|
||||
.footer-b-bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.25rem;
|
||||
padding: 2.5rem 0;
|
||||
text-align: center;
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.footer-b-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.2rem; font-weight: 800;
|
||||
color: var(--color-heading);
|
||||
letter-spacing: -0.02em;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
[data-theme="midnight"] .footer-b .footer-b-logo,
|
||||
[data-theme="neon"] .footer-b .footer-b-logo { color: #f0f6ff; }
|
||||
[data-theme="linen"] .footer-b .footer-b-logo { color: #faf7f2; }
|
||||
[data-theme="petal"] .footer-b .footer-b-logo { color: #fdf8ff; }
|
||||
|
||||
.footer-b-logo .logo-mark {
|
||||
width: 28px; height: 28px;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 0.85rem; font-weight: 900;
|
||||
color: var(--color-btn-text);
|
||||
}
|
||||
|
||||
.footer-b-tagline {
|
||||
font-size: 0.85rem;
|
||||
color: var(--footer-text);
|
||||
max-width: 340px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.footer-b-social {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.footer-b-social a {
|
||||
width: 34px; height: 34px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--color-border);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
color: var(--footer-text);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-b-social a:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
background-color: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
.footer-b-social a svg {
|
||||
width: 14px; height: 14px;
|
||||
stroke: currentColor; fill: none;
|
||||
stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.footer-b-copy {
|
||||
font-size: 0.8rem;
|
||||
color: var(--footer-text);
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
/* ============================================================
|
||||
FOOTER — LAYOUT C
|
||||
Ultra-minimal: single full-width bar.
|
||||
Logo left, nav links center, copy right. One line.
|
||||
============================================================ */
|
||||
|
||||
.footer-c {
|
||||
background-color: var(--footer-bg);
|
||||
border-top: 1px solid var(--color-border);
|
||||
transition: background-color 0.4s ease;
|
||||
}
|
||||
|
||||
.footer-c-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 64px;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
/* ── Logo ──────────────────────────────────────────────── */
|
||||
.footer-c-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.1rem; font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
flex-shrink: 0;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
[data-theme="midnight"] .footer-c .footer-c-logo,
|
||||
[data-theme="neon"] .footer-c .footer-c-logo { color: #f0f6ff; }
|
||||
[data-theme="linen"] .footer-c .footer-c-logo { color: #faf7f2; }
|
||||
[data-theme="petal"] .footer-c .footer-c-logo { color: #fdf8ff; }
|
||||
|
||||
.footer-c-logo:hover { color: var(--color-primary) !important; }
|
||||
|
||||
.footer-c-logo .logo-mark {
|
||||
width: 26px; height: 26px;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 0.78rem; font-weight: 900;
|
||||
color: var(--color-btn-text);
|
||||
}
|
||||
|
||||
/* ── Center nav ────────────────────────────────────────── */
|
||||
.footer-c-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.75rem;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.footer-c-nav a {
|
||||
font-size: 0.82rem; font-weight: 500;
|
||||
color: var(--footer-text);
|
||||
transition: color 0.2s ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.footer-c-nav a:hover { color: var(--color-primary); }
|
||||
|
||||
/* ── Right: copy ───────────────────────────────────────── */
|
||||
.footer-c-copy {
|
||||
font-size: 0.78rem;
|
||||
color: var(--footer-text);
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ── Responsive ─────────────────────────────────────────── */
|
||||
@media (max-width: 768px) {
|
||||
.footer-c-bar {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
padding: 1.5rem 0;
|
||||
gap: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-c-nav {
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
/* ============================================================
|
||||
FOOTER COMPONENT
|
||||
4-column link grid + bottom bar with copyright
|
||||
============================================================ */
|
||||
|
||||
.site-footer {
|
||||
background-color: var(--footer-bg);
|
||||
padding: 4rem 0 0;
|
||||
transition: background-color 0.4s ease;
|
||||
}
|
||||
|
||||
/* ── Main grid ─────────────────────────────────────────── */
|
||||
.footer-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr 1fr 1fr;
|
||||
gap: 3rem;
|
||||
padding-bottom: 3rem;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
/* ── Brand column ──────────────────────────────────────── */
|
||||
.footer-brand .header-logo {
|
||||
margin-bottom: 1rem;
|
||||
color: var(--color-heading);
|
||||
}
|
||||
|
||||
[data-theme="midnight"] .site-footer .header-logo {
|
||||
color: #f0f6ff;
|
||||
}
|
||||
|
||||
[data-theme="linen"] .site-footer .header-logo {
|
||||
color: #faf7f2;
|
||||
}
|
||||
|
||||
[data-theme="linen"] .site-footer .logo-mark {
|
||||
color: #1c1208;
|
||||
}
|
||||
|
||||
.footer-tagline {
|
||||
font-size: 0.9rem;
|
||||
color: var(--footer-text);
|
||||
line-height: 1.7;
|
||||
max-width: 240px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.footer-social {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.footer-social a {
|
||||
width: 36px; height: 36px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--footer-text);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-social a:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
background-color: var(--color-primary-soft);
|
||||
}
|
||||
|
||||
.footer-social a svg {
|
||||
width: 16px; height: 16px;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
/* ── Link columns ──────────────────────────────────────── */
|
||||
.footer-col-title {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-heading);
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
[data-theme="linen"] .site-footer .footer-col-title {
|
||||
color: #faf7f2;
|
||||
}
|
||||
|
||||
[data-theme="midnight"] .site-footer .footer-col-title {
|
||||
color: #f0f6ff;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
font-size: 0.9rem;
|
||||
color: var(--footer-text);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* ── Bottom bar ────────────────────────────────────────── */
|
||||
.footer-bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1.5rem 0;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.footer-copy {
|
||||
font-size: 0.82rem;
|
||||
color: var(--footer-text);
|
||||
}
|
||||
|
||||
.footer-bottom-links {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.footer-bottom-links a {
|
||||
font-size: 0.82rem;
|
||||
color: var(--footer-text);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.footer-bottom-links a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* ── Responsive ─────────────────────────────────────────── */
|
||||
@media (max-width: 900px) {
|
||||
.footer-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.footer-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user