Skip to content

Commit 1670761

Browse files
fix scaling on mobile
1 parent f9cacaf commit 1670761

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@
5757
font-size: 24px;
5858
}
5959

60+
/* 345px + (64px * 2) */
61+
@media screen and (max-width: 473px) {
62+
h1 {
63+
font-size: 13.5vmin;
64+
}
65+
66+
p {
67+
font-size: 5vmin;
68+
}
69+
}
70+
6071
a {
6172
color: white;
6273
}

0 commit comments

Comments
 (0)