Skip to content

Commit a5b39fd

Browse files
author
molty3000
committed
fix: reduce vertical spacing — hero, sections, blog, lead margins
1 parent 638e0d8 commit a5b39fd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

styles.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ img { max-width: 100%; display: block; }
7878

7979
/* === Hero === */
8080
.hero {
81-
padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
81+
padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
8282
}
8383
.hero::before {
8484
content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
@@ -105,7 +105,7 @@ img { max-width: 100%; display: block; }
105105
}
106106
.hero p {
107107
font-size: clamp(16px, 2vw, 20px); font-weight: 300; color: var(--text-secondary);
108-
max-width: 600px; margin: 0 auto 36px; line-height: 1.7;
108+
max-width: 600px; margin: 0 auto 28px; line-height: 1.7;
109109
}
110110
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
111111

@@ -159,7 +159,7 @@ img { max-width: 100%; display: block; }
159159
.code-block .bar .title { font-size: 12px; color: var(--text-tertiary); margin-left: 8px; font-family: var(--font-mono); }
160160

161161
/* === Section Defaults === */
162-
.section { padding: 100px 0; }
162+
.section { padding: 80px 0; }
163163
.section + .section { border-top: 1px solid var(--border-subtle); }
164164
.section-label {
165165
font-family: var(--font-mono); font-size: 12px; font-weight: 500;
@@ -173,7 +173,7 @@ img { max-width: 100%; display: block; }
173173
}
174174
.section .lead {
175175
font-size: 18px; color: var(--text-secondary); font-weight: 300;
176-
max-width: 600px; line-height: 1.7; margin-bottom: 48px;
176+
max-width: 600px; line-height: 1.7; margin-bottom: 32px;
177177
}
178178

179179
/* === Feature Grid === */
@@ -248,7 +248,7 @@ img { max-width: 100%; display: block; }
248248

249249
/* === Blog Carousel === */
250250
.blog-carousel {
251-
padding: 80px 0;
251+
padding: 60px 0;
252252
}
253253
.carousel-wrapper {
254254
position: relative; display: flex; align-items: center; gap: 16px;
@@ -356,10 +356,10 @@ img { max-width: 100%; display: block; }
356356

357357
/* === Responsive === */
358358
@media (max-width: 768px) {
359-
.hero { padding: 80px 0 60px; }
359+
.hero { padding: 60px 0 48px; }
360360
.hero h1 { letter-spacing: -1.6px; }
361361
.hero p { font-size: 17px; }
362-
.section { padding: 64px 0; }
362+
.section { padding: 48px 0; }
363363
.nav-links a:not(.nav-cta) { display: none; }
364364
}
365365
@media (max-width: 480px) {

0 commit comments

Comments
 (0)