-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsprong.css
More file actions
68 lines (60 loc) · 1.18 KB
/
sprong.css
File metadata and controls
68 lines (60 loc) · 1.18 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
body {
margin: 0;
padding: 20px;
background: #1a1a1a;
color: white;
font-family: 'Courier New', monospace;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
margin: 0 0 20px 0;
font-size: 2.5em;
color: #00ff88;
text-shadow: 0 0 10px #00ff88;
letter-spacing: 0.1em;
}
#gameCanvas {
border: 2px solid #00ff88;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
background: #0a0a0a;
touch-action: none; /* Prevent scrolling on touch devices */
user-select: none; /* Prevent text selection */
}
.info {
margin-top: 20px;
text-align: center;
opacity: 0.7;
max-width: 600px;
}
.controls {
margin-top: 10px;
font-size: 0.9em;
line-height: 1.4;
}
.score {
position: absolute;
top: 80px;
font-size: 3em;
color: #00ff88;
text-shadow: 0 0 15px #00ff88;
opacity: 0.8;
}
.score.left {
left: 200px;
}
.score.right {
right: 200px;
}
.debug-info {
position: absolute;
top: 10px;
left: 10px;
font-size: 0.8em;
opacity: 0.6;
background: rgba(0, 0, 0, 0.5);
padding: 10px;
border-radius: 5px;
border: 1px solid rgba(0, 255, 136, 0.3);
}