From: Ardis Lu Date: Thu, 8 Jun 2023 04:44:41 +0000 (-0700) Subject: Scale ASCII art based on viewport width X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=fc4dc31688173fa628eac283a435f00ac93a6d06;p=ard.is Scale ASCII art based on viewport width Better on mobile --- diff --git a/index.html b/index.html index 7121202..86be298 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ } #ascii-container { - font-size: 2rem; + font-size: clamp(1rem, 2.5dvi, 2rem); }