diff game/style.css @ 17:fe680946164b

reorganised repo
author ark
date 2026-10-20 00:12 +0200
parents 5492efd60e2c
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/game/style.css	Tue Oct 20 00:12:36 2026 +0200
@@ -0,0 +1,20 @@
+html, body {
+    margin: 0;
+    padding: 0;
+    height: 100%;
+    overflow: hidden;
+    background: #e8e2d4;
+}
+
+canvas {
+    display: block;
+    width: 100vw;
+    height: 100vh;
+    height: 100dvh;
+    /* no browser zoom, scroll or selection gestures on the game */
+    touch-action: none;
+    user-select: none;
+    -webkit-user-select: none;
+    -webkit-touch-callout: none;
+    -webkit-tap-highlight-color: transparent;
+}