Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
131 lines (115 loc) · 2.28 KB
/
Copy pathstyle.css
File metadata and controls
131 lines (115 loc) · 2.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #000;
color: #fff;
overflow: hidden;
min-height: 100vh;
}
#loading-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000511;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 1000;
transition: opacity 0.5s ease;
}
#loading-screen.hidden {
opacity: 0;
pointer-events: none;
}
.loader {
width: 60px;
height: 60px;
border: 4px solid rgba(255, 255, 255, 0.1);
border-top-color: #00d4ff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
#loading-screen p {
margin-top: 20px;
font-size: 1.2rem;
color: #00d4ff;
}
#game-container {
position: relative;
width: 100vw;
height: 100vh;
}
#game-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#hud {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
pointer-events: none;
}
#score-display {
display: flex;
gap: 20px;
padding: 15px 30px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
border-radius: 30px;
border: 1px solid rgba(0, 212, 255, 0.3);
box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.hud-item {
font-size: 1.1rem;
padding: 5px 15px;
background: rgba(0, 212, 255, 0.1);
border-radius: 15px;
}
.hud-item span {
color: #00d4ff;
font-weight: bold;
}
#controls-hint {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 10px 25px;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
z-index: 100;
pointer-events: none;
}
.hidden {
display: none !important;
}
@media (max-width: 600px) {
#score-display {
flex-direction: column;
gap: 10px;
padding: 10px 20px;
}
.hud-item {
font-size: 0.9rem;
padding: 3px 10px;
}
}