Skip to content

Commit

Permalink
Refactor hero section styles and adjust media query font sizes
Browse files Browse the repository at this point in the history
Moved #hero h1 styles to improve organization and readability in the CSS file. Updated media query font size for section h2 to ensure better responsiveness on smaller screens. Improves maintainability and visual consistency.
  • Loading branch information
lewiswatson55 committed Feb 9, 2025
1 parent aae760d commit 558f01c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ nav a:hover {
z-index: 2;
}


#hero h1 {
font-family: 'IBM Plex Mono', monospace;
font-size: 3rem;
margin-bottom: 1rem;
}

#hero @media (max-width: 768px) {
.hero-content h1 {
Expand All @@ -168,12 +172,6 @@ nav a:hover {
}
}

#hero h1 {
font-family: 'IBM Plex Mono', monospace;
font-size: 3rem;
margin-bottom: 1rem;
}

/* Countdown Timer */
.countdown-timer {
uhh: idk;
Expand Down Expand Up @@ -222,8 +220,8 @@ section h2 {
}

@media (max-width: 768px) {
#hero section h2 {
font-size: 1.8rem;
section h2 {
font-size: 1.45rem;
}
}

Expand Down

0 comments on commit 558f01c

Please sign in to comment.