]> git.ardis.lu - 4-byte-gen/commitdiff
Scale down h1 size on small screens
authorArdis Lu <ardisglu@gmail.com>
Sun, 23 Jul 2023 00:52:39 +0000 (17:52 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 23 Jul 2023 00:52:39 +0000 (17:52 -0700)
index.html

index 39dd873365a72bb1c24a39edc5679a753c915c1d..e15b927e7541c481a377d2a16cdb7321c8b92da9 100644 (file)
     /* Element styling */
 
     h1 {
-      font-size: 2rem;
+      font-size: clamp(1.5rem, 2.5vi, 2rem);
     }
 
     a {
This page took 0.035892 seconds and 4 git commands to generate.