Commit eaa40b67 authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

Make it fit the screen better.

parent 1ab725c0
......@@ -2,10 +2,12 @@
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content ="width=device-width,initial-scale=1,user-scalable=yes" />
<title>Cube Root Training</title>
</head>
<body>
<h1>Cube Root Training</h1>
<div id=main>
<b>Cube Root Training</b>
<p>
<span style="white-space:nowrap;"><span style="font-size:larger;"
>&#8731;</span><span id=cube style="text-decoration:overline;">
......@@ -15,7 +17,7 @@
</p>
<p id=result></p>
<p id=stats></p>
</div>
<script>
var cube = document.getElementById("cube");
var cuberoot = document.getElementById("cuberoot");
......@@ -77,6 +79,10 @@ function check_cuberoot(e) {
start_round();
}
window.onload = function() {
document.body.style.fontSize = "8vw";
}
start_round();
</script>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment