From 4b1d32734d711f0ce94a51ff09a79d1934ffdfdc Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@ie.suberic.net>
Date: Sat, 14 Oct 2017 16:05:29 +0100
Subject: [PATCH] Only tweak it for smaller screens.

---
 index.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 802e6c7..a0055a4 100644
--- a/index.html
+++ b/index.html
@@ -80,7 +80,11 @@ function check_cuberoot(e) {
 }
 
 window.onload = function() {
-  document.body.style.fontSize = "8vw";
+  if (screen.size <= 480) {
+    document.body.style.fontSize = "8vw";
+  } else if (screen.size <= 1024) {
+    document.body.style.fontSize = "6vw";
+  }
 }
 
 start_round();
-- 
GitLab