CSS · 1205 bytes Raw Blame History
1 body {
2 margin: 0;
3 padding: 20px;
4 background: #1a1a1a;
5 color: white;
6 font-family: 'Courier New', monospace;
7 display: flex;
8 flex-direction: column;
9 align-items: center;
10 }
11
12 h1 {
13 margin: 0 0 20px 0;
14 font-size: 2.5em;
15 color: #00ff88;
16 text-shadow: 0 0 10px #00ff88;
17 letter-spacing: 0.1em;
18 }
19
20 #gameCanvas {
21 border: 2px solid #00ff88;
22 box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
23 background: #0a0a0a;
24 touch-action: none; /* Prevent scrolling on touch devices */
25 user-select: none; /* Prevent text selection */
26 }
27
28 .info {
29 margin-top: 20px;
30 text-align: center;
31 opacity: 0.7;
32 max-width: 600px;
33 }
34
35 .controls {
36 margin-top: 10px;
37 font-size: 0.9em;
38 line-height: 1.4;
39 }
40
41 .score {
42 position: absolute;
43 top: 80px;
44 font-size: 3em;
45 color: #00ff88;
46 text-shadow: 0 0 15px #00ff88;
47 opacity: 0.8;
48 }
49
50 .score.left {
51 left: 200px;
52 }
53
54 .score.right {
55 right: 200px;
56 }
57
58 .debug-info {
59 position: absolute;
60 top: 10px;
61 left: 10px;
62 font-size: 0.8em;
63 opacity: 0.6;
64 background: rgba(0, 0, 0, 0.5);
65 padding: 10px;
66 border-radius: 5px;
67 border: 1px solid rgba(0, 255, 136, 0.3);
68 }