Skip to content

Commit f4ada4f

Browse files
committed
style(ui): reduce vertical spacing in hero section
1 parent 32f00bc commit f4ada4f

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/styles.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ a { color: inherit; text-decoration: none; }
216216
position: relative;
217217
display: flex;
218218
flex-direction: column;
219-
min-height: 85vh;
219+
min-height: 65vh;
220220
overflow: hidden;
221221
background: var(--color-bg);
222222
}
@@ -238,13 +238,13 @@ a { color: inherit; text-decoration: none; }
238238
align-items: center;
239239
justify-content: center;
240240
text-align: center;
241-
padding: 20px 20px 32px;
241+
padding: 16px 16px 24px;
242242
position: relative;
243243
z-index: 2;
244244
}
245245

246246
.hero-logo {
247-
margin-bottom: 16px;
247+
margin-bottom: 12px;
248248
animation: float 6s ease-in-out infinite;
249249
}
250250

@@ -266,22 +266,22 @@ a { color: inherit; text-decoration: none; }
266266
-webkit-background-clip: text;
267267
-webkit-text-fill-color: transparent;
268268
background-clip: text;
269-
margin-bottom: 8px;
269+
margin-bottom: 4px;
270270
letter-spacing: -0.03em;
271271
}
272272

273273
.hero-subtitle {
274274
font-size: clamp(1rem, 2.5vw, 1.3rem);
275275
color: var(--color-text-secondary);
276276
font-weight: 500;
277-
margin-bottom: 12px;
277+
margin-bottom: 8px;
278278
}
279279

280280
.hero-description {
281281
font-size: 1rem;
282282
color: var(--color-text-muted);
283283
max-width: 620px;
284-
margin-bottom: 20px;
284+
margin-bottom: 16px;
285285
line-height: 1.6;
286286
}
287287

@@ -293,7 +293,7 @@ a { color: inherit; text-decoration: none; }
293293
grid-template-columns: repeat(4, auto);
294294
align-items: center;
295295
column-gap: 0;
296-
margin-bottom: 24px;
296+
margin-bottom: 16px;
297297
background: var(--color-bg-tertiary);
298298
border: 1px solid var(--color-border);
299299
border-radius: var(--radius-lg);
@@ -337,7 +337,7 @@ a { color: inherit; text-decoration: none; }
337337
.hero-actions {
338338
display: flex;
339339
gap: 12px;
340-
margin-bottom: 20px;
340+
margin-bottom: 16px;
341341
flex-wrap: wrap;
342342
justify-content: center;
343343
}
@@ -1179,7 +1179,7 @@ a { color: inherit; text-decoration: none; }
11791179
}
11801180

11811181
.hero { min-height: auto; }
1182-
.hero-content { padding: 16px 12px 32px; }
1182+
.hero-content { padding: 12px 12px 24px; }
11831183
.hero-logo-svg { width: 64px; height: 64px; }
11841184
.hero-title { font-size: 2.2rem; }
11851185
.hero-subtitle { font-size: 1rem; }
@@ -1190,7 +1190,7 @@ a { color: inherit; text-decoration: none; }
11901190
gap: 12px;
11911191
row-gap: 16px;
11921192
width: 100%;
1193-
margin-bottom: 20px;
1193+
margin-bottom: 16px;
11941194
}
11951195

11961196
/* Hide dividers on mobile 2×2 grid */

0 commit comments

Comments
 (0)