Skip to content

Commit c39b575

Browse files
committed
style: make Hero text smaller for small screens
1 parent 3a9b412 commit c39b575

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/styles/Hero.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,19 @@
2323
}
2424

2525
.hero-title h1 {
26-
font-size: 5rem;
26+
font-size: 3rem;
2727
color: #d9d9d9;
2828
padding: 0;
2929
margin-top: 1rem;
3030
margin-bottom: 4rem;
3131
}
3232

33+
@media (min-width: 768px) {
34+
.hero-title h1 {
35+
font-size: 5rem;
36+
}
37+
}
38+
3339
.yellow-text {
3440
color: #ffe336;
3541
}

0 commit comments

Comments
 (0)