Redo detail, study, utility and gate pages; fix admin live preview (CSP frame-src self) and preview every admin section; v2.38.0
Publish Container / build (push) Successful in 15m34s
Publish Container / build (push) Successful in 15m34s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5d5c026762
commit
ea463b5851
6 files changed
+664
-452
No files matched your search
+171
@@ -13979,3 +13979,174 @@ a.nl-featured:hover { transform: translateY(-2px); border-color: rgba(201, 168,
|
||||
.nug-tag--active, .nug-tag--active:hover { background: #c9a84c; color: #0c0c08; border-color: #c9a84c; }
|
||||
.nug-tag--small { font-size: 0.74rem; padding: 0.15rem 0.6rem; }
|
||||
.nug-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
|
||||
|
||||
/* ── Episode detail ── */
|
||||
.ed-hero { padding: 2.5rem 0 2rem; background: radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.09), transparent 60%); border-bottom: 1px solid rgba(201, 168, 76, 0.15); }
|
||||
.ed-hero-inner { }
|
||||
.ed-title { font-family: var(--brand-font-heading); font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; color: #f0e9cc; margin: 0.2rem 0 0.8rem; }
|
||||
.ed-summary { font-size: 1.1rem; line-height: 1.65; color: #a89a6a; margin: 0 0 1.5rem; }
|
||||
.ed-player { margin-bottom: 1rem; }
|
||||
.ed-listen { display: inline-block; }
|
||||
.ed-body { padding: 2.5rem 0 4rem; }
|
||||
.ed-body-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 2.5rem; align-items: start; }
|
||||
.ed-body-grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
|
||||
.ed-block { margin-bottom: 2.25rem; }
|
||||
.ed-heading { font-family: var(--brand-font-heading); font-size: 1.5rem; color: #e8d9b5; margin: 0 0 0.8rem; }
|
||||
.ed-text { color: #c9bf9a; line-height: 1.75; margin: 0; }
|
||||
.ed-quote { margin: 0 0 1rem; padding: 0.4rem 0 0.4rem 1.1rem; border-left: 3px solid #c9a84c; color: #e8d9b5; font-style: italic; line-height: 1.6; }
|
||||
.ed-questions { margin: 0; padding-left: 1.3rem; color: #c9bf9a; line-height: 1.65; display: grid; gap: 0.7rem; }
|
||||
.ed-questions li::marker { color: #c9a84c; font-weight: 700; }
|
||||
.ed-side { display: grid; gap: 1rem; position: sticky; top: 5rem; }
|
||||
.ed-card { background: #111; border: 1px solid rgba(201, 168, 76, 0.18); border-radius: 14px; padding: 1.1rem 1.25rem; }
|
||||
.ed-side-heading { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a84c; margin: 0 0 0.8rem; font-family: inherit; }
|
||||
.ed-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
|
||||
.ed-chip { font-size: 0.85rem; color: #e8d9b5; border: 1px solid rgba(201, 168, 76, 0.35); border-radius: 999px; padding: 0.25rem 0.8rem; }
|
||||
.ed-list { margin: 0; padding-left: 1.1rem; color: #c9bf9a; line-height: 1.55; display: grid; gap: 0.4rem; font-size: 0.92rem; }
|
||||
@media (max-width: 800px) { .ed-body-grid { grid-template-columns: 1fr; } .ed-side { position: static; } }
|
||||
|
||||
/* ── Host detail ── */
|
||||
.hd-hero { padding: 2.5rem 0 2rem; background: radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.09), transparent 60%); border-bottom: 1px solid rgba(201, 168, 76, 0.15); }
|
||||
.hd-hero-inner { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
|
||||
.hd-photo { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(201, 168, 76, 0.4); box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45); flex-shrink: 0; }
|
||||
.hd-hero-body { flex: 1; min-width: 240px; }
|
||||
.hd-name { font-family: var(--brand-font-heading); font-size: clamp(2rem, 5vw, 3rem); color: #f0e9cc; margin: 0.2rem 0 0; line-height: 1.1; }
|
||||
.hd-body { padding: 2.5rem 0 4rem; }
|
||||
.hd-body-inner { }
|
||||
.hd-bio { font-size: 1.08rem; line-height: 1.75; color: #c9bf9a; margin: 0 0 1.25rem; }
|
||||
.hd-listen { margin-top: 2rem; padding: 1.4rem 1.5rem; background: #111; border: 1px solid rgba(201, 168, 76, 0.2); border-radius: 14px; }
|
||||
.hd-listen .eyebrow { margin-bottom: 0.8rem; }
|
||||
.hd-others { margin-top: 2.5rem; }
|
||||
.hd-back { display: inline-block; margin-top: 2.5rem; }
|
||||
@media (max-width: 640px) { .hd-photo { width: 120px; height: 120px; } }
|
||||
|
||||
/* ── Finished series page ── */
|
||||
.fsp-hero { padding: 2.5rem 0 2.25rem; background: radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.09), transparent 60%); border-bottom: 1px solid rgba(201, 168, 76, 0.15); }
|
||||
.fsp-hero-inner { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
|
||||
.fsp-hero-body { flex: 1; min-width: 260px; }
|
||||
.fsp-title { font-family: var(--brand-font-heading); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; color: #f0e9cc; margin: 0.2rem 0 0.8rem; }
|
||||
.fsp-desc { color: #a89a6a; line-height: 1.65; margin: 0 0 1.4rem; max-width: 60ch; }
|
||||
.fsp-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
|
||||
.fsp-episodes { padding-top: 2rem; padding-bottom: 4rem; }
|
||||
|
||||
/* ── Centered utility pages (thanks, subscribe, 404, legal) ── */
|
||||
.cp-main { padding: 3.5rem 1.25rem 4.5rem; background: radial-gradient(ellipse at top, rgba(201, 168, 76, 0.1), transparent 55%); display: flex; justify-content: center; }
|
||||
.cp-card { width: min(640px, 100%); background: #121212; border: 1px solid rgba(201, 168, 76, 0.24); border-radius: 18px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5); padding: 2.5rem 2rem; text-align: center; }
|
||||
.cp-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(201, 168, 76, 0.14); border: 1px solid rgba(201, 168, 76, 0.5); color: #c9a84c; font-size: 1.6rem; margin-bottom: 1rem; }
|
||||
.cp-404 { font-family: var(--brand-font-heading); font-size: clamp(4rem, 14vw, 6.5rem); line-height: 1; margin: 0 0 0.25rem; color: #c9a84c; opacity: 0.85; }
|
||||
.cp-title { font-family: var(--brand-font-heading); font-size: clamp(1.9rem, 5vw, 2.7rem); color: #f0e9cc; margin: 0.2rem 0 0.8rem; line-height: 1.15; }
|
||||
.cp-text { color: #a89a6a; line-height: 1.7; margin: 0 auto 1.5rem; max-width: 46ch; }
|
||||
.cp-text code { color: #e8d9b5; background: rgba(201, 168, 76, 0.1); padding: 0.1rem 0.4rem; border-radius: 4px; word-break: break-all; }
|
||||
.cp-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0 0; }
|
||||
.cp-note { font-size: 0.85rem; color: #8a7e55; margin: 1.25rem 0 0; }
|
||||
.cp-note a { color: #c9a84c; }
|
||||
.cp-form { display: grid; gap: 1rem; text-align: left; margin-top: 0.5rem; }
|
||||
.cp-form label { display: grid; gap: 0.35rem; font-size: 0.85rem; color: #c9bf9a; }
|
||||
.cp-form input { padding: 0.7rem 1rem; border-radius: 8px; border: 1px solid rgba(201, 168, 76, 0.3); background: #1a1a12; color: #f0e9cc; font-size: 1rem; outline: none; }
|
||||
.cp-form input:focus { border-color: rgba(201, 168, 76, 0.7); }
|
||||
.cp-form .btn-primary { justify-content: center; }
|
||||
.cp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
|
||||
.cp-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; margin-top: 1.25rem; text-align: left; }
|
||||
.cp-link-card { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; background: #17170f; border: 1px solid rgba(201, 168, 76, 0.2); border-radius: 12px; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
|
||||
.cp-link-card:hover { transform: translateY(-2px); border-color: rgba(201, 168, 76, 0.5); }
|
||||
.cp-link-card strong { color: #e8d9b5; }
|
||||
.cp-link-card span { color: #8a7e55; font-size: 0.82rem; }
|
||||
.cp-legal { max-width: 760px; padding-top: 2.5rem; padding-bottom: 4rem; }
|
||||
.cp-legal p { color: #c9bf9a; line-height: 1.8; margin: 0 0 1.1rem; }
|
||||
@media (max-width: 520px) { .cp-card { padding: 1.75rem 1.25rem; } .cp-form-row { grid-template-columns: 1fr; } }
|
||||
|
||||
/* ── Study discussion hub ── */
|
||||
.sdh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
|
||||
.sdh-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; background: #111; border: 1px solid rgba(201, 168, 76, 0.2); border-radius: 14px; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
|
||||
.sdh-card:hover { transform: translateY(-2px); border-color: rgba(201, 168, 76, 0.5); }
|
||||
.sdh-card h3 { margin: 0; font-family: var(--brand-font-heading); font-size: 1.35rem; color: #f0e9cc; }
|
||||
.sdh-card p { margin: 0; color: #a89a6a; line-height: 1.55; font-size: 0.95rem; }
|
||||
.sdh-badge { align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8a7e55; border: 1px solid rgba(201, 168, 76, 0.25); border-radius: 999px; padding: 0.2rem 0.65rem; }
|
||||
.sdh-badge--on { color: #c9a84c; border-color: rgba(201, 168, 76, 0.6); }
|
||||
.sdh-go { margin-top: auto; padding-top: 0.5rem; color: #c9a84c; font-weight: 600; font-size: 0.9rem; }
|
||||
|
||||
/* ── Study overview ── */
|
||||
.si-hero { padding: 2.5rem 0 2.25rem; background: radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.1), transparent 60%); border-bottom: 1px solid rgba(201, 168, 76, 0.15); }
|
||||
.si-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: center; }
|
||||
.si-title { font-family: var(--brand-font-heading); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; color: #f0e9cc; margin: 0.2rem 0 0.8rem; }
|
||||
.si-desc { color: #a89a6a; line-height: 1.65; margin: 0 0 1.1rem; max-width: 62ch; }
|
||||
.si-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
|
||||
.si-chips span { font-size: 0.8rem; color: #c9bf9a; border: 1px solid rgba(201, 168, 76, 0.25); border-radius: 999px; padding: 0.2rem 0.75rem; }
|
||||
.si-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
|
||||
.si-progress { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.5rem; background: #111; border: 1px solid rgba(201, 168, 76, 0.25); border-radius: 16px; }
|
||||
.si-ring { --pct: 0%; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#c9a84c var(--pct), rgba(201, 168, 76, 0.15) 0); position: relative; }
|
||||
.si-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #111; }
|
||||
.si-ring span { position: relative; font-weight: 700; color: #e8d9b5; }
|
||||
.si-progress-big { margin: 0; font-family: var(--brand-font-heading); font-size: 1.6rem; color: #f0e9cc; }
|
||||
.si-progress-sub { margin: 0; color: #a89a6a; font-size: 0.9rem; }
|
||||
.si-notice { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin-top: 1.5rem; padding: 1rem 1.25rem; background: #17170f; border: 1px solid rgba(201, 168, 76, 0.3); border-radius: 12px; color: #a89a6a; }
|
||||
.si-notice strong { color: #e8d9b5; }
|
||||
.si-notice .btn-primary { margin-left: auto; }
|
||||
.si-lessons { padding: 2rem 0 4rem; }
|
||||
.si-chapter { margin-bottom: 1.25rem; }
|
||||
.si-chapter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; cursor: pointer; padding: 0.6rem 0; border-bottom: 1px solid rgba(201, 168, 76, 0.18); list-style: none; }
|
||||
.si-chapter-head::-webkit-details-marker { display: none; }
|
||||
.si-chapter-head h2 { margin: 0; font-family: var(--brand-font-heading); font-size: 1.4rem; color: #e8d9b5; }
|
||||
.si-chapter-head span { font-size: 0.85rem; color: #8a7e55; }
|
||||
.si-list { display: grid; gap: 0.7rem; margin-top: 1rem; }
|
||||
.si-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: #111; border: 1px solid rgba(201, 168, 76, 0.18); border-radius: 14px; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
|
||||
.si-row:hover { transform: translateY(-1px); border-color: rgba(201, 168, 76, 0.5); }
|
||||
.si-row--disabled { opacity: 0.55; cursor: default; }
|
||||
.si-row--disabled:hover { transform: none; border-color: rgba(201, 168, 76, 0.18); }
|
||||
.si-row--done { border-color: rgba(127, 212, 138, 0.35); }
|
||||
.si-num { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201, 168, 76, 0.45); color: #c9a84c; font-weight: 700; }
|
||||
.si-row--done .si-num { background: rgba(127, 212, 138, 0.15); border-color: #7fd48a; color: #7fd48a; }
|
||||
.si-row-body { flex: 1; min-width: 0; }
|
||||
.si-row-top { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; align-items: center; }
|
||||
.si-row-top h3 { margin: 0; font-size: 1.1rem; color: #f0e9cc; }
|
||||
.si-ref { margin: 0.15rem 0 0; font-size: 0.8rem; letter-spacing: 0.06em; color: #c9a84c; }
|
||||
.si-summary { margin: 0.35rem 0 0; color: #a89a6a; font-size: 0.92rem; line-height: 1.5; }
|
||||
.si-arrow { color: #c9a84c; font-size: 1.2rem; }
|
||||
@media (max-width: 800px) { .si-hero-inner { grid-template-columns: 1fr; } .si-progress { justify-self: start; } }
|
||||
.si-focus { margin: 0.4rem 0 0; font-size: 0.85rem; font-style: italic; color: #8a7e55; line-height: 1.45; }
|
||||
.si-focus span { font-style: normal; color: #c9a84c; }
|
||||
|
||||
/* ── Study lesson page ── */
|
||||
.section-study-classroom { padding-top: 2rem; }
|
||||
.study-classroom-shell { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; }
|
||||
.sl-head { padding-bottom: 1.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(201, 168, 76, 0.18); }
|
||||
.sl-head-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; margin: 0.4rem 0 0.6rem; }
|
||||
.sl-lesson-pill { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #0c0c08; background: #c9a84c; border-radius: 999px; padding: 0.2rem 0.75rem; font-weight: 700; }
|
||||
.sl-ref { font-size: 0.85rem; letter-spacing: 0.08em; color: #c9a84c; }
|
||||
.sl-done { font-size: 0.8rem; color: #7fd48a; border: 1px solid rgba(127, 212, 138, 0.5); border-radius: 999px; padding: 0.15rem 0.65rem; }
|
||||
.sl-title { font-family: var(--brand-font-heading); font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.12; color: #f0e9cc; margin: 0 0 0.7rem; }
|
||||
.sl-summary { font-size: 1.1rem; line-height: 1.65; color: #a89a6a; max-width: 62ch; margin: 0 0 1.1rem; }
|
||||
.sl-progress { display: grid; gap: 0.4rem; max-width: 420px; font-size: 0.8rem; color: #8a7e55; }
|
||||
.sl-progress .study-lesson-progress-bar { height: 5px; margin: 0; }
|
||||
.study-classroom-main .study-class-block { margin-top: 1.5rem; padding: 1.6rem 1.75rem; border-radius: 16px; background: #111; border-color: rgba(201, 168, 76, 0.2); }
|
||||
.study-classroom-main .study-class-block h2 { font-size: 1.5rem; color: #e8d9b5; padding-right: 5rem; }
|
||||
.study-classroom-main .study-detail-copy { font-size: 1.08rem; line-height: 1.85; color: #cfc6a4; margin-bottom: 1.1rem; max-width: 68ch; }
|
||||
.study-classroom-main .study-detail-copy:last-child { margin-bottom: 0; }
|
||||
.study-classroom-main .study-detail-copy--scripture { font-family: var(--brand-font-heading); font-size: 1.2rem; line-height: 1.9; color: #f0e9cc; padding-left: 1.1rem; border-left: 3px solid rgba(201, 168, 76, 0.55); }
|
||||
.study-classroom-main .study-detail-list--questions { padding-left: 0; list-style: none; counter-reset: q; display: grid; gap: 1.25rem; }
|
||||
.study-classroom-main .study-question-item { counter-increment: q; position: relative; padding-left: 2.6rem; }
|
||||
.study-classroom-main .study-question-item::before { content: counter(q); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201, 168, 76, 0.5); color: #c9a84c; font-weight: 700; font-size: 0.85rem; }
|
||||
.study-classroom-main .study-question-text { font-size: 1.02rem; color: #e8d9b5; }
|
||||
.study-classroom-sidebar { top: 5rem; }
|
||||
.study-class-side-block { border-radius: 14px; background: #111; border-color: rgba(201, 168, 76, 0.2); }
|
||||
.study-class-side-block h3 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a84c; font-family: inherit; }
|
||||
.sl-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
|
||||
.sl-pager-link { display: grid; gap: 0.25rem; padding: 1rem 1.25rem; background: #111; border: 1px solid rgba(201, 168, 76, 0.22); border-radius: 14px; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
|
||||
a.sl-pager-link:hover { border-color: rgba(201, 168, 76, 0.6); transform: translateY(-1px); }
|
||||
.sl-pager-link span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a7e55; }
|
||||
.sl-pager-link strong { color: #e8d9b5; font-weight: 600; }
|
||||
.sl-pager-link--next { text-align: right; }
|
||||
.sl-pager-link--wait { opacity: 0.7; }
|
||||
@media (max-width: 960px) {
|
||||
.study-classroom-shell { grid-template-columns: 1fr; }
|
||||
.study-classroom-sidebar { position: static; }
|
||||
}
|
||||
@media (max-width: 560px) {
|
||||
.study-classroom-main .study-class-block { padding: 1.2rem 1.1rem; }
|
||||
.sl-pager { grid-template-columns: 1fr; }
|
||||
.sl-pager-link--next { text-align: left; }
|
||||
}
|
||||
#root .ed-heading { font-size: 1.5rem; }
|
||||
.ed-hero-inner > * { max-width: 760px; }
|
||||
#root .ed-side .ed-side-heading { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a84c; margin: 0 0 0.8rem; font-family: inherit; font-weight: 600; line-height: 1.2; }
|
||||
.auth-card--center .study-signup-form { text-align: left; }
|
||||
.cp-main--bare { min-height: 100vh; align-items: center; }
|
||||
Reference in new issue
Block a user