]> git.cworth.org Git - lmno.games/commitdiff
Scribe: Increase font size for game elements
authorCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 19:49:24 +0000 (12:49 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 19:49:24 +0000 (12:49 -0700)
It was just too hard to see things on my phone.

I hadn't used this larger font size earlier because it caused the
squares to stretch tall (no longer as squares) and squashing flat the
mini grids without characters in them.

But here I found I can avoid that problem by setting line height to 0.

scribe/scribe.css

index fd634f0e06434a92ffb5d3c967f78969b865850a..116bcbc3228a8c807867f1dc7a9b43788880353e 100644 (file)
@@ -57,7 +57,8 @@
     display: flex;
     justify-content: center;
     align-items: center;
-    font-size: 5vmin;
+    font-size: 8vmin;
+    line-height: 0;
     font-weight: bold;
     border-bottom: 1px solid #999;
     border-right: 1px solid #999;