-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrowing_display.css
More file actions
114 lines (101 loc) · 2.49 KB
/
Copy pathrowing_display.css
File metadata and controls
114 lines (101 loc) · 2.49 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
* { box-sizing: border-box; }
/* ==========================================================================
2. CANVAS & LOADING
========================================================================== */
#main-container {
height: 100%;
background: #000;
}
#wrapper {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
#glCanvas {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: block;
}
#gl-loading {
position: absolute;
inset: 0;
background: #000;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
transition: opacity 0.4s ease;
}
#gl-loading.fade-out {
opacity: 0;
pointer-events: none;
}
/* ==========================================================================
3. HUD CORNERS
========================================================================== */
.hud-corner {
position: absolute;
display: flex;
flex-direction: row;
gap: 10px;
z-index: 5;
pointer-events: none;
}
.hud-corner.tl { top: 2vh; left: 2vw; }
.hud-corner.tr { top: 2vh; right: 2vw; }
.hud-corner.bl { bottom: 2vh; left: 2vw; }
.hud-corner.br { bottom: 2vh; right: 2vw; }
/* ==========================================================================
4. TILES
========================================================================== */
.hud-tile {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
background: rgba(0, 0, 0, 0.42);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
min-width: 140px;
}
.hud-icon {
color: var(--accent);
width: 1.6em;
height: 1.6em;
flex-shrink: 0;
filter: drop-shadow(0 0 6px var(--accent));
}
.hud-content {
display: flex;
flex-direction: column;
line-height: 1.1;
}
.hud-label {
font-size: 0.65em;
letter-spacing: 0.15em;
color: rgba(255, 255, 255, 0.55);
font-weight: 600;
text-transform: uppercase;
}
.hud-value {
font-size: 1.6em;
font-weight: 700;
color: #fff;
letter-spacing: 0.02em;
font-variant-numeric: tabular-nums;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
/* ==========================================================================
5. RESPONSIVE
========================================================================== */
@media (max-height: 500px) {
.hud-tile { padding: 6px 12px; min-width: 120px; gap: 10px; }
.hud-icon { width: 1.3em; height: 1.3em; }
.hud-value { font-size: 1.3em; }
}