diff --git a/index.html b/index.html index 984a1cf..cc5d5e4 100644 --- a/index.html +++ b/index.html @@ -33,10 +33,14 @@ } :root { - --spacing: 10px; + --spacing: 8px; --width: 500px; --font-family: monospace; - font-size: 14px; + font-size: 16px; + } + + * { + box-sizing: border-box; } body { @@ -47,11 +51,11 @@ } .page { - position: fixed; - top: 25%; - left: 50%; - transform: translate(-50%, -25%); - width: var(--width); + margin: calc(4 * var(--spacing)) auto 0; + + padding: var(--spacing); + width: 100%; + max-width: var(--width); } input { @@ -113,7 +117,6 @@