-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (93 loc) · 3.13 KB
/
Copy pathstyle.css
File metadata and controls
105 lines (93 loc) · 3.13 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
:root {
--accent: #00ffcc;
--accent-glow: rgba(0, 255, 204, 0.5);
--bg: #050505;
--font-ui: 'Courier New', Courier, monospace;
--font-head: 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
body {
background: var(--bg);
color: white;
font-family: var(--font-head);
overflow: hidden;
width: 100vw;
height: 100vh;
}
#canvas {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
z-index: 1;
}
#webcam { display: none; }
/* --- HUD & UI --- */
#hud {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
z-index: 10;
pointer-events: none; /* Let touches pass through */
padding: 20px;
font-family: var(--font-ui);
font-size: 12px;
letter-spacing: 1px;
}
.hud-panel { position: absolute; }
.top-left { top: 20px; left: 20px; }
.bottom-left { bottom: 30px; left: 20px; }
.bottom-right { bottom: 30px; right: 20px; text-align: right; }
.stat-row { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.label { color: #888; font-weight: bold; }
.value { color: var(--accent); font-weight: bold; transition: color 0.3s; }
.glow-text { text-shadow: 0 0 8px var(--accent-glow); }
.action-text { color: #fff; background: rgba(0, 255, 204, 0.2); padding: 2px 6px; border-radius: 4px; }
.stat-block { margin-top: 15px; width: 140px; }
.meter {
height: 4px;
background: #333;
margin-top: 6px;
border-radius: 2px;
overflow: hidden;
}
.meter div {
height: 100%;
background: var(--accent);
box-shadow: 0 0 10px var(--accent);
transition: width 0.1s linear, background 0.3s;
}
.dev-credit {
position: absolute; top: 20px; right: 20px;
opacity: 0.4; font-size: 10px;
}
/* --- LOADER --- */
#loader {
position: absolute; z-index: 100;
background: #000; width: 100%; height: 100%;
display: flex; justify-content: center; align-items: center;
transition: opacity 0.8s ease;
}
.loader-content { text-align: center; width: 80%; max-width: 400px; }
h1 { font-weight: 200; letter-spacing: 8px; margin-bottom: 15px; font-size: 24px; }
p { color: #666; font-size: 11px; margin-bottom: 25px; font-family: var(--font-ui); }
.privacy-text { color: #ffaa00; margin-bottom: 15px; }
.bar-container {
width: 100%; height: 2px; background: #333; margin: 0 auto;
overflow: hidden;
}
.bar {
width: 100%; height: 100%; background: var(--accent);
transform: translateX(-100%);
animation: load 2s ease forwards;
}
@keyframes load { 100% { transform: translateX(0); } }
button {
background: transparent; border: 1px solid var(--accent);
color: var(--accent); padding: 12px 35px;
font-family: var(--font-ui); cursor: pointer;
font-weight: bold; letter-spacing: 2px;
transition: all 0.3s; pointer-events: auto;
}
button:hover { background: var(--accent); color: #000; box-shadow: 0 0 25px var(--accent-glow); }
.hidden { display: none; }
.visible { display: block; animation: fadeIn 0.5s; }
.fade-out { opacity: 0; pointer-events: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }