Skip to content

Commit 160babb

Browse files
rmdevproclaude
andcommitted
Case study: tighten the gap between hero and first section — kill the
hero's bottom padding, halve the first cs-section's top padding Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 3b99e53 commit 160babb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎case-studies/riverside-mill-complex.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="icon" href="../assets/logos/favicon.ico">
99
<link rel="stylesheet" href="../css/style.css">
1010
<style>
11-
.cs-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
11+
.cs-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 0; }
1212
.cs-hero .back {
1313
font-family: var(--mono);
1414
font-size: 0.78rem;
@@ -68,6 +68,7 @@
6868
padding-block: clamp(2rem, 4vw, 3rem);
6969
border-bottom: 1px solid var(--rule);
7070
}
71+
.cs-section:first-of-type { padding-top: 1.5rem; }
7172
.cs-section:last-of-type { border-bottom: none; }
7273
.cs-section:has(+ .figure-section) { border-bottom: none; padding-bottom: 0.5rem; }
7374
.cs-section h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 1rem; }

0 commit comments

Comments
 (0)