Skip to content

Commit 3358c55

Browse files
committed
Fix mobile menu and hero layout
1 parent cd86fa6 commit 3358c55

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

styles.css

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,17 @@ footer p {
684684
right: 0;
685685
background: var(--accent-color);
686686
flex-direction: column;
687-
padding: 1rem 2rem;
687+
padding: 1.5rem 2rem;
688688
gap: 1rem;
689689
box-shadow: var(--shadow);
690690
display: none;
691691
}
692692

693+
.nav-links a {
694+
color: var(--bg-color);
695+
font-size: 1.2rem;
696+
}
697+
693698
.nav-links.active {
694699
display: flex;
695700
}
@@ -698,30 +703,38 @@ footer p {
698703
.hero {
699704
min-height: auto;
700705
max-height: none;
701-
padding: 6rem 1.5rem 3rem;
706+
padding: 8rem 1.5rem 4rem;
702707
}
703708

704709
.hero-content h1 {
705-
font-size: 2.5rem;
710+
font-size: 2.8rem;
706711
line-height: 1;
712+
margin-bottom: 0.5rem;
707713
}
708714

709715
.hero-content .subtitle {
710-
font-size: 1.1rem;
711-
margin-bottom: 1.5rem;
716+
font-size: 1.2rem;
717+
margin-bottom: 2rem;
712718
}
713719

714720
.hero-buttons {
715-
flex-direction: column;
716-
gap: 1.5rem;
721+
flex-direction: row;
722+
gap: 2rem;
723+
justify-content: center;
724+
}
725+
726+
.icon-btn {
727+
padding: 0.5rem;
717728
}
718729

719730
.icon-btn .icon {
720-
font-size: 3rem;
731+
font-size: 2.5rem;
721732
}
722733

723734
.icon-btn .label {
724-
font-size: 1rem;
735+
font-size: 0.85rem;
736+
max-width: 80px;
737+
text-align: center;
725738
}
726739

727740
/* About Mobile */
@@ -730,7 +743,7 @@ footer p {
730743
}
731744

732745
.section-title {
733-
font-size: 2.2rem;
746+
font-size: 2.5rem;
734747
}
735748

736749
.about-content {

0 commit comments

Comments
 (0)