fix(site): give Fraunces section titles room to breathe
This commit is contained in:
@@ -280,7 +280,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
|
||||
/* ============ RECIPE (value centerpiece) ============ */
|
||||
.recipe-head { max-width: 40rem; margin-bottom: 44px; }
|
||||
.recipe-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.3vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.02; margin: 16px 0 18px; }
|
||||
.recipe-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.3vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.15; margin: 16px 0 18px; }
|
||||
.recipe-head p { color: var(--color-muted); font-size: 1.08rem; }
|
||||
.recipe { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 20px; box-shadow: var(--sh-lg); overflow: hidden; }
|
||||
.recipe-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--color-line); background: linear-gradient(var(--color-card), var(--color-paper)); }
|
||||
@@ -326,7 +326,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
|
||||
/* ============ CONTENTS (table-of-contents) ============ */
|
||||
.contents { background: var(--color-paper-2); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
|
||||
.contents h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.025em; margin: 14px 0 34px; max-width: 20ch; }
|
||||
.contents h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.2; margin: 14px 0 34px; max-width: 20ch; }
|
||||
.toc { border-top: 1px solid var(--color-line-2); }
|
||||
.toc a { display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--color-line); transition: background 0.2s, padding 0.2s; }
|
||||
.toc a:hover { background: var(--color-pine-wash); padding-left: 16px; }
|
||||
@@ -351,7 +351,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
@media (max-width: 600px) { .letter-in { padding: 0 20px; } }
|
||||
|
||||
/* ============ AUTHORS ============ */
|
||||
.authors h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin: 14px 0 10px; }
|
||||
.authors h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.2; margin: 14px 0 10px; }
|
||||
.authors .lede { color: var(--color-muted); max-width: 38rem; margin-bottom: 38px; }
|
||||
.auth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
|
||||
.auth { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 16px; padding: 24px; box-shadow: var(--sh-sm); transition: box-shadow 0.2s, transform 0.2s; }
|
||||
@@ -371,7 +371,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
/* ============ EMAIL CAPTURE ============ */
|
||||
.capture { background: var(--color-paper-2); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
|
||||
.capture-in { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 28px; }
|
||||
.capture h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.02; margin: 16px 0 14px; }
|
||||
.capture h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.15; margin: 16px 0 14px; }
|
||||
.capture p { color: var(--color-muted); font-size: 1.06rem; margin-bottom: 28px; }
|
||||
.capture form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
|
||||
.capture .fine { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-muted); margin-top: 18px; }
|
||||
@@ -380,7 +380,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
|
||||
/* ============ TIERS PREVIEW ============ */
|
||||
.tiers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
|
||||
.tiers-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin: 12px 0 0; }
|
||||
.tiers-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.2; margin: 12px 0 0; }
|
||||
.tiers-note { font-family: var(--font-mono); font-size: 12px; color: var(--color-muted); max-width: 22rem; text-align: right; line-height: 1.6; }
|
||||
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
|
||||
.tier { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
|
||||
@@ -398,7 +398,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; } .tiers-note { text-align: left; } }
|
||||
|
||||
/* ============ FAQ ============ */
|
||||
.faq h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin-bottom: 34px; }
|
||||
.faq h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 34px; }
|
||||
.qa { border-top: 1px solid var(--color-line); }
|
||||
.qa details { border-bottom: 1px solid var(--color-line); padding: 6px 0; }
|
||||
.qa summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
|
||||
@@ -498,7 +498,7 @@ h1, h2, h3 { text-wrap: balance; margin: 0; }
|
||||
.chapter-title {
|
||||
font-family: var(--font-display); font-weight: 900;
|
||||
font-size: clamp(2.1rem, 4.6vw, 3.4rem);
|
||||
letter-spacing: -0.028em; line-height: 1.02; margin: 0 0 12px;
|
||||
letter-spacing: -0.028em; line-height: 1.15; margin: 0 0 12px;
|
||||
max-width: 22ch;
|
||||
}
|
||||
.chapter-by {
|
||||
|
||||
Reference in New Issue
Block a user