diff --git a/index.html b/index.html index 802e6c72ef148b687c9ba8c278468f78265274c8..a0055a4d66df99622dd4c0e892dc3435be539804 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();