Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (66 loc) · 1.32 KB
/
Copy pathstyle.css
File metadata and controls
78 lines (66 loc) · 1.32 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
69
70
71
72
73
74
75
76
77
78
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #1e3c72, #2a5298);
overflow: hidden;
color: white;
}
#gameContainer {
position: relative;
width: 100vw;
height: 100vh;
}
#gameArea {
width: 100%;
height: 100%;
}
#ui {
position: absolute;
top: 20px;
left: 20px;
z-index: 100;
background: rgba(0, 0, 0, 0.7);
padding: 20px;
border-radius: 10px;
backdrop-filter: blur(10px);
}
#score {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
color: #00ff88;
}
#lives {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #ff6b6b;
}
#power {
font-size: 16px;
font-weight: bold;
margin-bottom: 15px;
color: #00ccff;
line-height: 1.2;
}
#instructions {
font-size: 14px;
line-height: 1.5;
}
#instructions p {
margin-bottom: 5px;
}
canvas {
display: block;
cursor: crosshair;
}
#gameArea {
cursor: crosshair;
}
#gameArea:active {
cursor: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMiIgZmlsbD0iIzAwZmY4OCIvPgo8L3N2Zz4K') 12 12, crosshair;
}