-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
111 lines (100 loc) · 2.9 KB
/
Copy pathstyles.css
File metadata and controls
111 lines (100 loc) · 2.9 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
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
background: #050510;
color: #e7e7ff;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
overflow: hidden;
}
#game {
display: block;
width: 100vw;
height: 100vh;
}
#hud {
position: fixed;
left: 0; right: 0;
top: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
pointer-events: none;
}
#hud .score {
font-weight: 800;
letter-spacing: 2px;
font-size: 28px;
text-shadow: 0 0 8px #7df9ff, 0 0 18px #5ef1ff;
}
#hud .score .sep { opacity: 0.65; margin: 0 8px; }
#hud .status { pointer-events: auto; display: flex; gap: 8px; }
#hud .status button {
border: none;
background: rgba(20,20,35,0.6);
color: #e7e7ff;
padding: 8px 10px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
box-shadow: inset 0 0 0 1px rgba(125,249,255,0.2), 0 0 12px rgba(125,249,255,0.15);
}
#hud .status button:hover { background: rgba(35,35,60,0.75); }
.overlay {
position: fixed;
inset: 0;
background: radial-gradient(1200px 600px at 30% 10%, rgba(0,255,200,0.1), transparent 60%),
radial-gradient(900px 900px at 90% 80%, rgba(180,60,255,0.10), transparent 60%),
rgba(5,5,16,0.85);
display: grid;
place-items: center;
transition: opacity 240ms ease;
}
.overlay.hidden { opacity: 0; pointer-events: none; }
.panel {
width: min(560px, calc(100vw - 40px));
padding: 24px;
border-radius: 16px;
background: rgba(12,12,24,0.55);
backdrop-filter: blur(10px) saturate(120%);
box-shadow: 0 10px 35px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(125,249,255,0.20);
text-align: center;
}
.panel h1 {
margin: 4px 0 8px;
font-size: 44px;
letter-spacing: 2px;
color: #e8fffb;
text-shadow: 0 0 10px #51ffe6, 0 0 24px #a46bff;
}
.panel p { margin: 6px 0 16px; opacity: 0.9; }
.controls { font-size: 14px; opacity: 0.8; }
.difficulty { display: flex; justify-content: center; gap: 10px; margin: 16px 0 8px; }
.difficulty button {
border: none;
padding: 10px 14px;
border-radius: 10px;
background: rgba(20,20,40,0.7);
color: #dffcff;
cursor: pointer;
box-shadow: inset 0 0 0 1px rgba(125,249,255,0.25), 0 0 12px rgba(125,249,255,0.12);
}
.difficulty button.active { background: rgba(40,40,80,0.85); box-shadow: 0 0 22px rgba(125,249,255,0.25); }
.difficulty button:hover { background: rgba(35,35,70,0.85); }
.actions { margin-top: 10px; }
#playBtn {
border: none;
padding: 12px 18px;
border-radius: 12px;
background: linear-gradient(90deg, #3ee6ff, #b36bff);
color: #001014;
font-weight: 800;
letter-spacing: 1px;
cursor: pointer;
box-shadow: 0 8px 30px rgba(125,249,255,0.35), 0 0 24px rgba(179,107,255,0.35);
}
#playBtn:hover { filter: brightness(1.05); }
@media (max-width: 520px) {
#hud .score { font-size: 22px; }
}