Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
3kh0
GitHub Repository: 3kh0/3kh0.github.io-replit
Path: blob/main/css/style.css
617 views
1
/*-------------------- Uhh, i forgot --------------------*/
2
3
* {
4
font-family: "Roboto";
5
user-select: none;
6
}
7
8
html {
9
scroll-behavior: smooth;
10
}
11
12
::-webkit-scrollbar {
13
width: 16px;
14
}
15
16
::-webkit-scrollbar-thumb {
17
background: var(--theme);
18
border: 4px solid transparent;
19
background-clip: content-box;
20
border-radius: 8px;
21
}
22
23
::-webkit-scrollbar-corner {
24
background: transparent;
25
}
26
27
::placeholder {
28
color: var(--text-secondary);
29
user-select: none;
30
}
31
32
body {
33
margin: 0;
34
padding: 0;
35
display: flex;
36
flex-direction: column;
37
min-height: 100vh;
38
background: var(--background);
39
}
40
41
@keyframes breathing {
42
0% {
43
box-shadow: 0 5px 170px var(--theme);
44
}
45
46
25% {
47
box-shadow: 0 5px 200px var(--theme);
48
}
49
50
60% {
51
box-shadow: 0 5px 170px var(--theme);
52
}
53
54
100% {
55
box-shadow: 0 5px 170px var(--theme);
56
}
57
}
58
59
@-webkit-keyframes breathing {
60
0% {
61
box-shadow: 0 5px 170px var(--theme);
62
}
63
64
25% {
65
box-shadow: 0 5px 200px var(--theme);
66
}
67
68
60% {
69
box-shadow: 0 5px 170px var(--theme);
70
}
71
72
100% {
73
box-shadow: 0 5px 170px var(--theme);
74
}
75
}
76
77
.navbar {
78
height: 56px;
79
box-shadow: 0 5px 200px var(--theme);
80
position: sticky;
81
top: 0;
82
z-index: 9999;
83
animation: breathing 5s ease-out infinite normal;
84
}
85
86
.navbar.noshadow {
87
box-shadow: 0 0 0 var(--background);
88
animation: none;
89
}
90
91
.navitems {
92
display: flex;
93
justify-content: center;
94
height: 100%;
95
align-items: center;
96
gap: 10px;
97
background: var(--background);
98
}
99
100
.navlogo {
101
height: 45px;
102
border-radius: 15px;
103
position: absolute;
104
left: 5px;
105
user-select: none;
106
}
107
108
@keyframes shake {
109
0% {
110
transform: translate(1px, 1px) rotate(0deg);
111
}
112
113
10% {
114
transform: translate(-1px, -2px) rotate(-1deg);
115
}
116
117
20% {
118
transform: translate(-3px, 0px) rotate(1deg);
119
}
120
121
30% {
122
transform: translate(3px, 2px) rotate(0deg);
123
}
124
125
40% {
126
transform: translate(1px, -1px) rotate(1deg);
127
}
128
129
50% {
130
transform: translate(-1px, 2px) rotate(-1deg);
131
}
132
133
60% {
134
transform: translate(-3px, 1px) rotate(0deg);
135
}
136
137
70% {
138
transform: translate(3px, 1px) rotate(-1deg);
139
}
140
141
80% {
142
transform: translate(-1px, -1px) rotate(1deg);
143
}
144
145
90% {
146
transform: translate(1px, 2px) rotate(0deg);
147
}
148
149
100% {
150
transform: translate(1px, -2px) rotate(-1deg);
151
}
152
}
153
154
.navlogo:hover {
155
animation: shake 0.5s;
156
animation-iteration-count: infinite;
157
}
158
159
.navitem {
160
border-radius: 35px;
161
padding: 10px 8px;
162
font-size: 15px;
163
background: transparent;
164
cursor: pointer;
165
user-select: none;
166
color: var(--text);
167
}
168
169
.navitem[current] {
170
background: var(--theme);
171
color: var(--text-secondary);
172
}
173
174
.title {
175
font-size: 3em;
176
color: var(--text);
177
text-align: center;
178
margin-top: 180px;
179
font-weight: bold;
180
margin-top: 10rem;
181
}
182
183
.message {
184
text-align: center;
185
color: var(--text);
186
font-size: 1.5rem;
187
margin: 1rem;
188
}
189
190
.homemessage {
191
cursor: pointer;
192
width: fit-content;
193
user-select: none;
194
}
195
196
.play-link {
197
width: fit-content;
198
display: block;
199
}
200
201
.play {
202
height: 30px;
203
padding: 20px 15px;
204
display: flex;
205
align-items: center;
206
justify-content: center;
207
background: var(--theme);
208
font-size: 1rem;
209
border-radius: 15px;
210
cursor: pointer;
211
margin-bottom: 10rem;
212
user-select: none;
213
border: none;
214
color: var(--text-secondary);
215
transition: transform 0.5s;
216
}
217
218
.play:hover {
219
transform: scaleX(1.4) scaleY(1.4) rotate(9deg);
220
}
221
222
a {
223
text-decoration: none;
224
color: #0084ff;
225
}
226
227
footer {
228
color: var(--text);
229
text-align: center;
230
margin-top: auto;
231
margin-bottom: 5px;
232
}
233
234
.searchbar {
235
height: 40px;
236
border: none;
237
background: var(--theme);
238
outline: none;
239
font-size: 1rem;
240
border-radius: 15px;
241
padding: 0 15px;
242
margin: 1rem;
243
width: 40rem;
244
color: var(--text-secondary);
245
max-width: calc(100% - 4rem);
246
}
247
248
.games {
249
display: grid;
250
grid-template-columns: repeat(auto-fill, 200px);
251
justify-content: space-between;
252
grid-gap: 2rem;
253
margin: 1rem 2rem 2rem 2rem;
254
}
255
256
.game {
257
height: 240px;
258
width: 200px;
259
background: var(--theme);
260
color: var(--text);
261
text-decoration: none;
262
border-radius: 15px;
263
cursor: pointer;
264
display: flex;
265
align-items: center;
266
flex-wrap: wrap;
267
justify-content: center;
268
-webkit-user-select: none;
269
user-select: none;
270
position: relative;
271
transition: 0.5s;
272
}
273
274
.game:hover {
275
transform: scale(1.1);
276
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.616);
277
}
278
279
.game[hidden] {
280
display: none;
281
}
282
283
.game>img {
284
background: var(--theme);
285
object-fit: cover;
286
height: 200px;
287
width: 200px;
288
border-radius: 15px 15px 0 0;
289
}
290
291
.game>span {
292
line-height: 40px;
293
width: 200px;
294
text-align: center;
295
overflow: hidden;
296
text-overflow: ellipsis;
297
white-space: nowrap;
298
color: var(--text-secondary);
299
padding: 0 10px;
300
font-size: 16px;
301
}
302
303
.nogames {
304
color: var(--text);
305
margin: 0 2rem;
306
margin-top: -2rem;
307
text-align: center;
308
display: none;
309
}
310
311
.section-title {
312
color: var(--text);
313
font-size: 1.5rem;
314
margin: 1rem;
315
}
316
317
.section-text {
318
color: var(--text);
319
font-size: 1rem;
320
margin: 0 1rem;
321
}
322
323
.section-text p {
324
font-size: 18px;
325
}
326
327
.section-text a {
328
color: var(--theme);
329
}
330
331
.buttons {
332
display: flex;
333
gap: 10px;
334
margin: 0 1rem;
335
user-select: none;
336
flex-wrap: wrap;
337
}
338
339
.button {
340
background: var(--theme);
341
width: fit-content;
342
padding: 10px;
343
border-radius: 15px;
344
cursor: pointer;
345
color: var(--text-secondary);
346
border: 0;
347
}
348
349
.input {
350
border: none;
351
background: var(--theme);
352
width: 200px;
353
padding: 10px;
354
border-radius: 15px;
355
outline: none;
356
color: var(--text-secondary);
357
}
358
359
select {
360
border: none;
361
background: var(--theme);
362
width: 200px;
363
padding: 10px;
364
border-radius: 15px;
365
outline: none;
366
color: var(--text-secondary);
367
}
368
369
.play-link {
370
width: fit-content;
371
display: block;
372
}
373
374
.reviews-link {
375
height: 35px;
376
padding: 20px 15px;
377
display: flex;
378
align-items: center;
379
justify-content: center;
380
background: var(--theme);
381
font-size: 1rem;
382
border-radius: 40px;
383
cursor: pointer;
384
margin-bottom: 10rem;
385
user-select: none;
386
border: none;
387
color: var(--text-secondary);
388
width: fit-content;
389
position: absolute;
390
bottom: 1rem;
391
right: 0;
392
left: 0;
393
margin: 0 auto;
394
}
395
396
#reviews {
397
margin-top: 26rem;
398
visibility: hidden;
399
height: 382px;
400
}
401
402
.review-container {
403
display: flex;
404
}
405
406
.review {
407
background: var(--theme);
408
width: 200px;
409
height: 350px;
410
margin: 1rem;
411
border-radius: 15px;
412
}
413
414
.review-img {
415
border-radius: 50%;
416
width: 124px;
417
height: 124px;
418
display: flex;
419
margin: 0 auto;
420
margin-top: 1rem;
421
}
422
423
.review-name {
424
color: var(--text-secondary);
425
font-size: 1.5rem;
426
text-align: center;
427
margin: 0.5rem;
428
overflow: hidden;
429
height: 29.6px;
430
}
431
432
.review-content {
433
margin: 0 10px;
434
text-align: center;
435
overflow: hidden;
436
height: 44%;
437
color: var(--text-secondary);
438
}
439
440
.review-placeholder {
441
width: 200px;
442
height: 350px;
443
margin: 1rem;
444
border-radius: 15px;
445
opacity: 0;
446
user-select: none;
447
pointer-events: none;
448
}
449
450
[class^="number-slide"],
451
[class*=" number-slide"] {
452
display: flex;
453
align-items: center;
454
justify-content: center;
455
}
456
457
.navigation-wrapper {
458
position: relative;
459
}
460
461
.arrow {
462
width: 30px;
463
height: 30px;
464
position: absolute;
465
top: 50%;
466
transform: translateY(-50%);
467
-webkit-transform: translateY(-50%);
468
fill: #fff;
469
cursor: pointer;
470
}
471
472
.arrow--left {
473
left: 5px;
474
fill: "#fff";
475
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
476
}
477
478
.arrow--right {
479
left: auto;
480
right: 5px;
481
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
482
}
483
484
.arrow--disabled.arrow--left {
485
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
486
}
487
488
.arrow--disabled.arrow--right {
489
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
490
}
491
492
.version-warning {
493
color: var(--theme);
494
display: none;
495
}
496
497
.spinner {
498
display: inline-block;
499
color: var(--theme);
500
animation: 1.4s linear 0s infinite normal none running animation-61bdi0;
501
width: 80px;
502
height: 80px;
503
margin: 0 auto;
504
margin-top: 2rem;
505
}
506
507
.spinnerSvg {
508
stroke: currentColor;
509
stroke-dasharray: 80px, 200px;
510
stroke-dashoffset: 0;
511
-webkit-animation: animation-1p2h4ri 1.4s ease-in-out infinite;
512
animation: animation-1p2h4ri 1.4s ease-in-out infinite;
513
}
514
515
@keyframes animation-61bdi0 {
516
0% {
517
transform: rotate(0deg);
518
}
519
520
100% {
521
transform: rotate(360deg);
522
}
523
}
524
525
.saveItems {
526
display: flex;
527
gap: 10px;
528
padding-left: 2rem;
529
}
530
531
.hiddenUpload {
532
display: none;
533
}
534
535
.uploadResult {
536
display: none;
537
color: var(--theme);
538
display: flex;
539
align-items: center;
540
}
541
542
.changelog-item {
543
display: flex;
544
width: fit-content;
545
border-radius: 2.5px;
546
margin: 1em 0;
547
}
548
549
.changelog-type {
550
padding: 0 0.5rem;
551
border-radius: 30px;
552
margin-right: 0.5rem;
553
user-select: none;
554
font-size: 13px;
555
display: flex;
556
align-items: center;
557
justify-content: center;
558
}
559
560
.changelog-type[added] {
561
background: #21bd01;
562
color: white;
563
}
564
565
.changelog-type[added]::before {
566
content: "Added";
567
}
568
569
.changelog-type[removed] {
570
background: #ff0000;
571
color: white;
572
}
573
574
.changelog-type[removed]::before {
575
content: "Removed";
576
}
577
578
.changelog-type[changed] {
579
background: #ff7b00;
580
color: white;
581
}
582
583
.changelog-type[changed]::before {
584
content: "Changed";
585
}
586
587
.hii {
588
color: var(--theme);
589
margin: 1rem;
590
margin-left: 2rem;
591
}
592
593
.alien {
594
border: none;
595
margin: 1rem auto;
596
}
597
598
input[type="color"] {
599
background: var(--text);
600
border: none;
601
border-radius: 5px;
602
outline: none;
603
padding: 2px;
604
}
605
606
.bookmarklet {
607
margin-bottom: 50px;
608
}
609
610
.content {
611
margin-left: 50px;
612
margin-bottom: 50px;
613
}
614
615
.hidden {
616
display: none;
617
}
618
619
.gamecontainer {
620
height: 50em;
621
}
622
623
.gamecontainer>.nav {
624
display: flex;
625
width: 100%;
626
height: 45px;
627
background: var(--theme);
628
align-items: stretch;
629
}
630
631
.gamecontainer>.nav>.item {
632
width: fit-content;
633
padding: 0.5em;
634
cursor: pointer;
635
}
636
637
.gamecontainer>.nav>span {
638
width: fit-content;
639
padding: 0.5em;
640
color: var(--text);
641
font-size: 22px;
642
}
643
644
.gamecontainer>.nav>.item#fullscreen {
645
margin: 0.2em;
646
width: fit-content;
647
padding: 0.4em;
648
cursor: pointer;
649
right: 0;
650
position: fixed;
651
background-color: var(--theme);
652
border-radius: 999999999999999999999px;
653
}
654
655
.gamecontainer>.nav>.item>svg {
656
width: 30px;
657
}
658
659
.gamecontainer>.nav>.item>svg>path {
660
fill: var(--background);
661
}
662
663
.gamecontainer>div {
664
height: 100%;
665
}
666
667
.gamecontainer>div>iframe {
668
width: 100%;
669
height: 100%;
670
}
671
672