Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
47 lines (47 loc) · 1.7 KB
/
Copy pathstyles.css
File metadata and controls
47 lines (47 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
width: 100%; height: 100%; overflow: hidden;
background: #06060e;
touch-action: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
#canvas {
display: block;
position: absolute;
top: 0; left: 0;
image-rendering: pixelated;
}
#mobile-controls {
position: fixed; bottom: 0; left: 0; right: 0;
height: 120px; pointer-events: none; z-index: 100;
}
#dpad {
position: absolute; left: 12px; bottom: 12px;
display: flex; gap: 8px; align-items: center;
}
.dpad-btn {
width: 60px; height: 60px; border-radius: 12px;
background: rgba(106,79,216,0.3); border: 2px solid rgba(106,79,216,0.5);
color: rgba(255,255,255,0.7); font-size: 22px;
display: flex; align-items: center; justify-content: center;
pointer-events: all; font-family: 'Share Tech Mono', monospace;
-webkit-tap-highlight-color: transparent;
}
.dpad-btn:active { background: rgba(106,79,216,0.6); }
#action-btns {
position: absolute; right: 12px; bottom: 12px;
display: flex; gap: 8px; align-items: flex-end;
}
.action-btn {
width: 68px; height: 68px; border-radius: 50%;
background: rgba(224,48,80,0.3); border: 2px solid rgba(224,48,80,0.5);
color: rgba(255,255,255,0.8); font-size: 11px; font-weight: bold;
display: flex; align-items: center; justify-content: center;
pointer-events: all; font-family: 'Share Tech Mono', monospace;
-webkit-tap-highlight-color: transparent;
}
.action-btn.small { width: 54px; height: 54px; font-size: 10px; }
.action-btn.tiny { width: 44px; height: 44px; font-size: 9px; background: rgba(58,90,138,0.3); border-color: rgba(58,90,138,0.5); }
.action-btn:active { background: rgba(224,48,80,0.6); }