Skip to content

Commit 7ee91d9

Browse files
committed
Fix title vertical height spacing issue
- Added proper h2 styling for both desktop and mobile hero sections - Improved line-height for h1 and h2 elements (1.2 and 1.3 respectively) - Set appropriate bottom margins for better vertical flow - Added red color styling for warning message emphasis - Ensures titles properly account for vertical height in layout
1 parent 5afdf7e commit 7ee91d9

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

style.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,15 @@ body {
332332
-webkit-background-clip: text;
333333
-webkit-text-fill-color: transparent;
334334
background-clip: text;
335+
line-height: 1.2;
336+
}
337+
338+
.desktop-hero h2 {
339+
font-size: 1.8rem;
340+
font-weight: var(--font-weight-semibold);
341+
color: #ff6b6b;
342+
margin-bottom: 30px;
343+
line-height: 1.3;
335344
}
336345

337346
.desktop-hero p {
@@ -375,6 +384,15 @@ body {
375384
-webkit-background-clip: text;
376385
-webkit-text-fill-color: transparent;
377386
background-clip: text;
387+
line-height: 1.2;
388+
}
389+
390+
.mobile-hero h2 {
391+
font-size: 1.4rem;
392+
font-weight: var(--font-weight-semibold);
393+
color: #ff6b6b;
394+
margin-bottom: 25px;
395+
line-height: 1.3;
378396
}
379397

380398
.mobile-hero p {

0 commit comments

Comments
 (0)