From: Ardis Lu Date: Sun, 23 Jul 2023 00:52:39 +0000 (-0700) Subject: Scale down h1 size on small screens X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=0337b2e679a70d09faf5db7baf6a597fce8be070;p=4-byte-gen Scale down h1 size on small screens --- diff --git a/index.html b/index.html index 39dd873..e15b927 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,7 @@ /* Element styling */ h1 { - font-size: 2rem; + font-size: clamp(1.5rem, 2.5vi, 2rem); } a {