]> git.cworth.org Git - lmno.games/blobdiff - scribe/scribe.css
Scribe: Fix the font size to not depend on page height
[lmno.games] / scribe / scribe.css
index 116bcbc3228a8c807867f1dc7a9b43788880353e..74beee91b471e5a0d7ae8f868b6cd94017e19925 100644 (file)
@@ -57,7 +57,7 @@
     display: flex;
     justify-content: center;
     align-items: center;
-    font-size: 8vmin;
+    font-size: calc(min(8vw, .08 * var(--page-max-width)));
     line-height: 0;
     font-weight: bold;
     border-bottom: 1px solid #999;