CSS · 1087 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 }
25
26 .info {
27 margin-top: 20px;
28 text-align: center;
29 opacity: 0.7;
30 max-width: 600px;
31 }
32
33 .controls {
34 margin-top: 10px;
35 font-size: 0.9em;
36 line-height: 1.4;
37 }
38
39 .score {
40 position: absolute;
41 top: 80px;
42 font-size: 3em;
43 color: #00ff88;
44 text-shadow: 0 0 15px #00ff88;
45 opacity: 0.8;
46 }
47
48 .score.left {
49 left: 200px;
50 }
51
52 .score.right {
53 right: 200px;
54 }
55
56 .debug-info {
57 position: absolute;
58 top: 10px;
59 left: 10px;
60 font-size: 0.8em;
61 opacity: 0.6;
62 background: rgba(0, 0, 0, 0.5);
63 padding: 10px;
64 border-radius: 5px;
65 border: 1px solid rgba(0, 255, 136, 0.3);
66 }