Skip to content

Commit 3ad8c8a

Browse files
committed
feat(css): Responsive font size
1 parent 91016c7 commit 3ad8c8a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

default.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
--highlight: var(--primary);
1111
--logo: var(--primary);
1212
--font-monospace: "Fira Mono", monospace;
13-
--font-size: 13.5px;
13+
--font-size: auto;
14+
}
15+
16+
@media (max-width: 600px) {
17+
:root {
18+
--font-size: 13.5px;
19+
}
1420
}
1521

1622
body {

0 commit comments

Comments
 (0)