Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·192 lines (175 loc) · 3.74 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·192 lines (175 loc) · 3.74 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
html,
body {
margin: 0;
overflow: hidden;
}
*{
image-rendering: crisp-edges;
}
#menuPanel {
position: absolute;
/* blur */
backdrop-filter: blur(5px);
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 20;
display: block;
}
#item_bar{
max-width: fit-content;
padding:0;
position: absolute;
bottom:25px;
right:0;
left:0;
margin-inline: auto;
color: white;
font-size: 16px;
z-index: 100;
font-family: 'VCR OSD Mono', monospace;
/* stroke of 1px */
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
user-select: none;
}
#item_bar > input{
display:inline-block;
width: 50px;
height: 50px;
padding: 16px 25px;
outline: 5px ridge yellow;
appearance: none;
position: relative;
}
#item_bar > input::before{
content:'';
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
}
#item_bar > input:nth-of-type(1)::before{
background: url('./public/wklejek.png') no-repeat center;
background-size: contain;
}
#item_bar > input:checked{
outline: 5px ridge orange;
}
#startButton {
position: absolute;
top: 51%;
left: 50%;
transform: translate(-50%, -50%);
/* font */
font-size: 24px;
z-index: 30;
border-radius: 10px;
border: 2px solid white;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
padding: 10px 20px;
user-select: none;
/* font */
font-family: 'VCR OSD Mono', monospace;
color: whitesmoke;
}
#title{
position: absolute;
/* middle of screen */
top: 41%;
left: 50%;
transform: translate(-50%, -50%);
color: #8B8000;
font-size: 4.25vw;
z-index: 100;
font-weight: bold;
font-family: 'VCR OSD Mono', monospace;
text-shadow:
-2px -2px 0 #fff,
2px -2px 0 #333,
-2px 2px 0 #111,
2px 2px 0 #222,
2px 8px 6px rgba(0,0,0,0.2),
0px -2.5px 85px rgba(255,255,255,0.5),
0px -5px 130px rgba(255,255,255,0.2);
user-select: none;
transition: all 0.1s ease-in-out;
}
#popup {
position: absolute;
bottom: 0px;
left: 50%;
transform: translate(-50%, -50%), translateY(0px);
color: white;
font-size: 0.8vw;
z-index: 100;
font-family: 'VCR OSD Mono', monospace;
border-radius: 10px;
border: 2px solid white;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
padding: 10px 20px;
user-select: none;
pointer-events: none;
}
.hide {
transition: transform 0.4s ease-in, opacity 0.45s ease-in;
opacity: 0;
transform: translate(-50%, -50%) translateY(0px);
}
.show {
transition: transform 0.2s ease-out, opacity 0.15s ease-out;
opacity: 1;
transform: translate(-50%, -50%) translateY(-20px);
}
.webgl {
position: fixed;
outline: none;
width: 100%;
height: 100%;
}
/* Middle of the screen */
#loading-spinner{
position: absolute;
top: 75%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 1.6vw;
z-index: 100;
font-family: 'VCR OSD Mono', monospace;
/* stroke of 1px */
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
div:has(> #coordinates){
padding:0;
position: absolute;
bottom: 10px;
left: 10px;
color: white;
font-size: 16px;
z-index: 100;
font-family: 'VCR OSD Mono', monospace;
/* stroke of 1px */
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
user-select: none;
}
button:hover {
filter: brightness(1.35);
}
button:active {
filter: brightness(0.7);
}
.github{
transition: all 0.1s ease-in-out;
}
.github:hover{
filter: brightness(1.2);
transform: scale(1.05);
}
.github:active{
filter: brightness(0.7);
transform: scale(1.025);
}