laneya2

cave exploration game
git clone https://git.ce9e.org/laneya2.git

commit
08b1029f9fe1a9e342e01c90f20c3220a0ad8275
parent
71a689a50a9341bef9f8585e1689a72d4f7b25d2
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-09-26 18:42
mobile tweaks

Diffstat

M index.html 2 +-
M static/style.css 8 ++++++++

2 files changed, 9 insertions, 1 deletions


diff --git a/index.html b/index.html

@@ -2,7 +2,7 @@
    2     2 <html lang="en">
    3     3 <head>
    4     4 	<meta charset="UTF-8">
    5    -1 	<meta name="viewport" content="width=device-width, initial-scale=1">
   -1     5 	<meta name="viewport" content="width=device-width">
    6     6 	<title>Laneya</title>
    7     7 	<link rel="stylesheet" type="text/css" href="/static/style.css">
    8     8 </head>

diff --git a/static/style.css b/static/style.css

@@ -18,6 +18,7 @@ pre {
   18    18 	inline-size: 10em;
   19    19 	max-inline-size: 30%;
   20    20 	opacity: 0.3;
   -1    21 	touch-action: manipulation;
   21    22 }
   22    23 #dpad circle {
   23    24 	fill: var(--fg);
@@ -56,3 +57,10 @@ pre {
   56    57 		opacity: 0.1;
   57    58 	}
   58    59 }
   -1    60 
   -1    61 @media (pointer: coarse) {
   -1    62 	:root {
   -1    63 		user-select: none;
   -1    64 		-webkit-user-select: none;
   -1    65 	}
   -1    66 }