diff options
author | Aki <please@ignore.pl> | 2024-11-05 23:26:17 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-11-05 23:26:17 +0100 |
commit | 2b315ba1f8a2bf4992f61cc556a3f776f16b94a5 (patch) | |
tree | b2ea311fa9461c4b7006f68d5816b1914cb3613f /index.html | |
parent | 2ba4a8a088b8b015d27f997c8e34965baa5692bc (diff) | |
download | wadsworth-2b315ba1f8a2bf4992f61cc556a3f776f16b94a5.zip wadsworth-2b315ba1f8a2bf4992f61cc556a3f776f16b94a5.tar.gz wadsworth-2b315ba1f8a2bf4992f61cc556a3f776f16b94a5.tar.bz2 |
Page layout is now a bit more compact
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -3,9 +3,16 @@ <meta charset="utf-8"> <title>Wadsworth/Wheatstone</title> <style> +body { + display: flex; + align-items: center; + max-width: 45em; + margin: 0 auto; + padding: 0.5em; +} +.controls { padding: 0.5em; } svg { display: block; - margin: 1em auto; border: 1px solid black; } .pointer, .plate { @@ -119,7 +126,9 @@ function init(element) { <circle onmousedown="start(this.parentNode)" cx="75" cy="50" r="5"/> </g> </svg> +<div class="controls"> <strong>Wadsworth/Wheatstone</strong><br> Outer: <input onchange='change("#outer", this.value)' type="number" value="27" autocomplete="off"><br> Inner: <input onchange='change("#inner", this.value)' type="number" value="26" autocomplete="off"><br> <button onclick="reset()">Reset Position</button> +</div> |