Redesign study landing page: track cards, numbered steps, tidier hero and Q&A callout, themed progress bars; v2.10.8
Publish Container / build (push) Has been cancelled
Publish Container / build (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
52568db82b
commit
669cd6555c
4 files changed
+296
-116
No files matched your search
+198
@@ -4156,6 +4156,204 @@
|
||||
border-left: 3px solid rgba(111, 207, 151, 0.7);
|
||||
}
|
||||
|
||||
/* ── Study hub (guest landing) ── */
|
||||
.study-hub-count {
|
||||
margin: 1.25rem 0 0;
|
||||
font-size: 0.9rem;
|
||||
color: var(--brand-muted);
|
||||
}
|
||||
|
||||
.study-hub-steps {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.study-hub-step {
|
||||
padding: 1.4rem 1.4rem 1.5rem;
|
||||
border: 1px solid rgba(201, 168, 76, 0.22);
|
||||
border-radius: 14px;
|
||||
background: rgba(17, 17, 15, 0.84);
|
||||
}
|
||||
|
||||
.study-hub-step-number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.3rem;
|
||||
height: 2.3rem;
|
||||
margin-bottom: 0.9rem;
|
||||
border-radius: 50%;
|
||||
border: 1px solid rgba(201, 168, 76, 0.6);
|
||||
background: rgba(201, 168, 76, 0.14);
|
||||
color: var(--brand-gold);
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.study-hub-step h3 {
|
||||
margin: 0 0 0.45rem;
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1.3rem;
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
|
||||
.study-hub-step p {
|
||||
margin: 0;
|
||||
color: #d6c7a6;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.study-track-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1.1rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.study-track-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
|
||||
|
||||
.study-track-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
padding: 1.4rem;
|
||||
border: 1px solid rgba(201, 168, 76, 0.24);
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(26, 26, 22, 0.95), rgba(16, 16, 14, 0.95));
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
a.study-track-card:hover {
|
||||
transform: translateY(-3px);
|
||||
border-color: rgba(201, 168, 76, 0.55);
|
||||
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
.study-track-card--planned {
|
||||
border-style: dashed;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.study-track-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.6rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.study-track-status {
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--brand-gold);
|
||||
}
|
||||
|
||||
.study-track-status--complete { color: #6fcf97; }
|
||||
.study-track-status--planned { color: var(--brand-muted); }
|
||||
|
||||
.study-difficulty {
|
||||
padding: 0.18rem 0.65rem;
|
||||
border-radius: 999px;
|
||||
border: 1px solid;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.study-difficulty--beginner { color: #7fd484; border-color: rgba(76, 175, 80, 0.45); background: rgba(76, 175, 80, 0.12); }
|
||||
.study-difficulty--intermediate { color: #f0b45c; border-color: rgba(245, 124, 0, 0.45); background: rgba(245, 124, 0, 0.12); }
|
||||
.study-difficulty--advanced { color: #ef8a82; border-color: rgba(211, 47, 47, 0.5); background: rgba(211, 47, 47, 0.12); }
|
||||
|
||||
.study-track-title {
|
||||
margin: 0.2rem 0 0;
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.2;
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
|
||||
.study-track-desc {
|
||||
margin: 0;
|
||||
color: #d6c7a6;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.study-track-facts {
|
||||
list-style: none;
|
||||
margin: 0.4rem 0 0;
|
||||
padding: 0.75rem 0 0;
|
||||
border-top: 1px solid rgba(201, 168, 76, 0.16);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.3rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--brand-muted);
|
||||
}
|
||||
|
||||
.study-track-cta {
|
||||
margin-top: 0.5rem;
|
||||
color: var(--brand-gold);
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.study-track-listen {
|
||||
margin: 0;
|
||||
padding: 0 0.4rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--brand-muted);
|
||||
}
|
||||
|
||||
.study-hub-ask {
|
||||
max-width: 640px;
|
||||
margin: 1rem auto 2rem;
|
||||
padding: clamp(1.75rem, 4vw, 2.5rem);
|
||||
text-align: center;
|
||||
border: 1px solid rgba(201, 168, 76, 0.24);
|
||||
border-radius: 18px;
|
||||
background:
|
||||
radial-gradient(ellipse at top, rgba(201, 168, 76, 0.1), transparent 70%),
|
||||
rgba(17, 17, 15, 0.9);
|
||||
}
|
||||
|
||||
.study-hub-ask h2 {
|
||||
margin: 0.4rem 0 0.75rem;
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1.8rem;
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
|
||||
.study-hub-ask p:not(.eyebrow) {
|
||||
margin: 0 auto 1.5rem;
|
||||
max-width: 480px;
|
||||
color: #b9aa86;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.study-hub-ask-actions {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.study-hub-steps { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
a.study-track-card:hover { transform: none; }
|
||||
}
|
||||
|
||||
/* ── Sign in / Create account (split layout) ── */
|
||||
.auth-page {
|
||||
min-height: 70vh;
|
||||
|
||||
Reference in new issue
Block a user