-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
434 lines (399 loc) · 8.16 KB
/
style.css
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
@font-face {
font-family: "Orbitron";
src: url("/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Alata";
src: url("/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
.titlebar {
height: 30px;
background: #329ea3;
user-select: none;
display: flex;
justify-content: flex-end;
position: fixed;
top: 0;
left: 0;
right: 0;
}
.titlebar-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
}
.titlebar-button:hover {
background: #5bbec3;
}
body {
background: linear-gradient(
to top,
rgb(53, 122, 7),
rgb(139, 139, 139),
rgb(211, 237, 255)
);
width: 100vw;
height: 100vh;
overflow: hidden;
cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz48bGluZSB4MT0iMTYiIHkxPSIyIiB4Mj0iMTYiIHkyPSIzMCIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiLz48bGluZSB4MT0iMiIgeTE9IjE2IiB4Mj0iMzAiIHkyPSIxNiIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4="),
auto;
}
canvas {
position: absolute;
top: 0;
left: 0;
/* margin-top: 50px; */
height: 100%;
width: 100%;
z-index: 10;
/* background-color: aliceblue; */
}
#collisionCanvas {
/* background-color: brown; */
opacity: 0;
/* border-radius: 500px; */
}
body {
font-family: "Orbitron", sans-serif;
}
/* Global styles for all h1 elements */
h1 {
color: #ffffff;
/* font-size: 2em; */
padding: 20px 0;
}
nav a:hover {
background-color: #333;
color: #fff;
}
.sidebar {
position: fixed;
left: -30vw;
width: 30vw;
max-width: 30vw;
height: 100%;
background-color: #252525;
color: white;
transition: left 0.3s ease;
overflow: auto;
padding: 20px;
box-sizing: border-box;
border-style: groove;
overflow: hidden;
z-index: 101;
}
.sidebar.open {
left: 0;
}
.sidebar-content h1 {
margin-top: 0;
}
.sidebar-content p,
.sidebar-content q,
.sidebar-content img {
margin: 20px 0;
}
.sidebar img {
width: 30vw;
height: auto;
}
/* Media query for small devices */
@media (max-width: 768px) {
.sidebar {
max-width: 50vw;
}
.sidebar.open {
width: 50vw;
}
#main-content.open {
margin-left: 50vw;
}
}
.edible-content {
position: fixed;
bottom: 30px;
left: 20px;
width: 40px; /* Adjusted to accommodate the icon size */
height: 40px; /* Adjusted to accommodate the icon size */
padding: 0; /* Removed padding for proper centering */
display: flex;
justify-content: center;
align-items: center;
background: white;
border: 3px solid #3e7072;
border-radius: 10px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
transition: margin-left 0.3s ease;
z-index: 9999;
}
.hamburger-icon {
font-size: 30px;
cursor: pointer;
line-height: 1;
}
#main-content.open {
margin-left: 30vw;
}
a:link {
color: #862e97; /* or any color you prefer */
text-decoration: none; /* if you want to remove the underline */
}
/* Visited link */
a:visited {
color: #862e97; /* or any color you prefer */
text-decoration: none; /* if you want to remove the underline */
}
/* Mouse over link */
a:hover {
color: #e5a0f3; /* or any color you prefer */
text-decoration: none; /* if you want to remove the underline */
}
/* Selected link */
a:active {
color: #e5a0f3; /* or any color you prefer */
text-decoration: none; /* if you want to remove the underline */
}
.button {
display: inline-block;
padding: 4px 6px;
font-size: 16px;
color: white; /* Text color */
background-color: #00eeff; /* Background color */
border: none;
border-radius: 5px;
text-align: center;
text-decoration: none; /* Remove underline */
cursor: pointer;
}
/* Hover effect */
.button:hover {
background-color: #0056b3; /* Darker background color on hover */
}
/* Active effect */
.button:active {
background-color: #004494; /* Even darker background color on active */
}
/* Focus effect */
.button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); /* Blue outline */
}
footer,
.sidefoot {
background-color: #080f22;
color: white; /* Footer text color */
padding: 3px;
text-align: center;
bottom: 2px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-radius: 10px;
font-size: 25px;
z-index: 100;
}
body,
h1,
h2,
p,
ul,
li {
margin: 0;
padding: 0;
}
body {
font-family: "Orbitron", sans-serif;
line-height: 1.5;
text-align: center; /* Center the text in the body */
display: flex;
flex-direction: column;
overflow-x: hidden; /* Prevent horizontal overflow */
box-sizing: border-box;
}
/* Header styles */
header {
background-color: #333;
color: #fff;
padding: 10px 0; /* Increase padding for better visual separation */
position: sticky;
top: 0;
display: flex;
justify-content: center;
z-index: 1010;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline-block;
margin-right: 20px;
}
nav a {
color: #333;
text-decoration: none;
font-weight: bold;
display: block;
padding: 10px;
border: 1px solid #333;
border-radius: 5px;
margin: 10px;
background-color: #fff;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
background-color: #333;
color: #fff;
}
.burger-icon {
display: none;
font-size: 30px;
cursor: pointer;
}
/* Main content styles */
main {
width: 100%; /* Ensure the main content takes up full width */
/* padding: 20px; */ /*this creates a white bar on the right*/
flex: 1;
height: calc(
100vh - 60px
); /* Set the height of the main content to 100% of the viewport height */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
padding: 0;
margin: 0;
overflow: hidden;
}
section {
margin-bottom: 10px;
margin-top: 10px;
/* overflow-x: hidden;
flex-direction: column; */
}
/* Page Footer styles - not sidebar footer */
.pagefooter {
background-color: #000000; /* Footer background color */
color: white; /* Footer text color */
font-size: large;
padding: 20px 0;
text-align: center;
bottom: 2px;
/* position: absolute; */
bottom: 0;
left: 0;
right: 0;
border-radius: 10px;
}
/* General styles */
h1 {
color: #333;
font-size: 2em; /* Larger font size for the title */
padding: 20px 0; /* Padding for the title */
}
p {
color: #555;
}
/* Responsive styles */
@media only screen and (max-width: 900px) {
nav {
flex-direction: column;
}
nav ul {
display: none;
flex-direction: column;
width: 100%;
background-color: #333;
position: absolute;
top: 60px;
left: 0;
z-index: 1000;
}
nav ul.active {
display: flex;
}
nav ul li {
margin: 10px 0;
}
nav ul li a {
color: #fff;
border: none;
background: none;
}
.burger-icon {
display: block;
}
}
/* .iframe {
height: 100vh;
width: auto;
padding: 0;
border: 0;
} */
hr {
height: 4px;
background-color: brown;
border-color: brown;
margin: 35px;
}
a {
color: black;
}
a:visited {
color: black;
}
a:hover {
color: brown;
}
a:active {
color: brown;
}
/* General styles for hero image */
.heroimg img {
width: 60vw;
height: auto; /* Maintain aspect ratio */
display: block; /* Remove any default inline spacing */
margin: 0 auto;
padding-top: 50px;
}
/* Responsive styles for hero image on smaller devices */
@media only screen and (max-width: 900px) {
.heroimg {
flex-direction: column;
width: 100vw;
max-width: 100%;
overflow: hidden; /* Prevent overflow */
}
}
@media only screen and (max-width: 900px) {
main {
width: fit-content;
}
}
.download-buttons {
text-align: center;
margin-bottom: 1em;
}
.download-buttons .button {
display: inline-block;
margin: 0.5em;
padding: 0.5em 1em;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 4px;
font-weight: bold;
}
.download-buttons .button:hover {
background-color: #0056b3;
}