-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
785 lines (771 loc) · 15.7 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
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
/* font-family: 'Kanit', sans-serif;
font-family: 'Luckiest Guy', cursive; */
:root {
--short: "Short ";
--long: "Long ";
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: linear-gradient(308deg, #00aef0, #815440);
background-size: 400% 400%;
-webkit-animation: AnimationName 18s ease infinite;
-moz-animation: AnimationName 18s ease infinite;
animation: AnimationName 8s ease infinite;
font-family: "Kanit", sans-serif;
overflow-x: hidden;
}
@-webkit-keyframes AnimationName {
0% {
background-position: 0% 84%;
}
50% {
background-position: 100% 17%;
}
100% {
background-position: 0% 84%;
}
}
@-moz-keyframes AnimationName {
0% {
background-position: 0% 84%;
}
50% {
background-position: 100% 17%;
}
100% {
background-position: 0% 84%;
}
}
@keyframes AnimationName {
0% {
background-position: 0% 84%;
}
50% {
background-position: 100% 17%;
}
100% {
background-position: 0% 84%;
}
}
header {
height: 40px;
background-color: #353434;
font-family: "Luckiest Guy", cursive;
color: white;
display: flex;
overflow: hidden;
}
.logoName {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.logoName h1 {
margin: 0 20px 0;
font-size: 1.5rem;
}
.logoName span {
margin-top: -10px;
font-size: smaller;
font-stretch: condensed;
}
.logo {
background: url("images/moon.png");
background-size: contain;
background-repeat: no-repeat;
width: 40px;
height: 40px;
border-radius: 50%;
margin-left: 10px;
animation: rotation 10s linear infinite;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.logo img {
width: 30px;
animation: rotation 10s linear infinite;
animation-direction: reverse;
}
.line {
border: 5px solid white;
height: 3px;
align-self: center;
border-radius: 50%;
}
header:hover .line {
transform: translateX(80vw);
transition: 3s linear;
}
@media (max-width: 1000px) {
.line {
display: none;
}
}
.historyIcon {
align-self: center;
position: absolute;
right: 20px;
}
.historyIcon img {
width: 20px;
align-self: flex-end;
}
.historyIcon:hover {
animation: iconbeating 0.2s infinite alternate-reverse;
}
@media (max-width: 350px) {
.historyIcon {
top: 100px;
}
.historyIcon img {
/* content: url("images/history1.png"); */
animation: iconbeating 0.4s infinite alternate-reverse;
}
}
@keyframes iconbeating {
to {
transform: scale(1.2);
}
}
main {
display: flex;
align-items: center;
gap: 50px;
overflow-x: hidden;
}
main::-webkit-scrollbar {
position: absolute;
width: 0;
}
main::-webkit-scrollbar-thumb {
background-color: #00aef0;
}
main::-webkit-scrollbar-track {
background-color: #815440;
}
@media (max-width: 1000px) {
main {
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: -100px;
gap: 0;
}
.mainImage {
width: 100%;
display: flex;
justify-content: center;
}
}
.mainImage {
width: 50%;
}
.mainImage img {
min-width: 400px;
width: 100%;
}
.content {
max-width: 280px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
position: relative;
height: 100%;
align-self: center;
}
form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 0;
margin-top: 0;
}
@media (max-width: 1000px) {
form {
margin-top: -100px;
}
}
form div {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.refresh {
display: none;
}
.refresh img {
width: 30px;
margin-left: 10px;
}
.refresh img:hover {
animation: iconbeating 0.4s infinite alternate-reverse;
}
input {
width: 250px;
border: none;
outline: none;
cursor: pointer;
font-family: "Kanit", sans-serif;
}
@media (max-width: 400px) {
input {
width: 175px;
}
}
input[type="text"] {
padding: 10px;
border-radius: 8px;
color: #888;
position: relative;
}
input[type="submit"] {
margin-top: 30px;
background-color: #815440;
color: white;
padding: 10px;
border-radius: 8px;
border: 2px solid white;
outline: 1px solid #815440;
font-weight: bold;
letter-spacing: 2px;
position: relative;
transition: 1s linear;
}
input[type="submit"]:hover {
background-color: white;
border-color: #815440;
outline-color: white;
color: #815440;
}
input:hover,
input:focus {
outline: none;
}
.spinner {
border: 3px dotted;
border-color: transparent #00aef0 #00aef0 #00aef0;
width: 30px;
height: 30px;
border-radius: 50%;
align-self: center;
animation: rotation 1s linear infinite;
position: relative;
display: flex;
justify-content: center;
align-items: center;
display: none;
margin-top: 20px;
}
.spinner::before {
content: "";
position: absolute;
width: 10px;
height: 10px;
border: 3px solid;
border-color: #00aef0 #00aef0 transparent #00aef0;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.close {
width: 20px;
height: 20px;
border: 2px solid #00aef0;
border-radius: 50%;
align-self: flex-end;
display: flex;
justify-content: center;
position: absolute;
top: -20px;
cursor: pointer;
opacity: 0;
}
@media (max-width: 1000px) {
.close {
top: -20px;
}
}
.content i {
color: #00aef0;
cursor: pointer;
z-index: 3;
}
a {
text-decoration: none;
}
section {
width: 250px;
max-height: 250px;
padding: 20px 5px;
color: Red;
display: none;
overflow-x: hidden;
border-radius: 8px;
background: rgba(250, 250, 250, 0.6) !important;
transition: 0.5s linear;
}
section::-webkit-scrollbar {
width: 2px;
}
section::-webkit-scrollbar-thumb {
background-color: #00aef0;
}
section::-webkit-scrollbar-track {
background-color: #815440;
}
section:hover {
overflow-y: scroll;
}
@media (max-width: 400px) {
section {
width: 175px;
}
}
section a {
max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
section button {
background: none;
outline: none;
border: none;
cursor: pointer;
}
section img {
width: 20px;
}
ul {
font-size: 10px;
word-break: break-all;
display: flex;
flex-direction: column;
align-items: flex-start;
}
li {
color: #00aef0;
width: 250px;
}
.short {
list-style: var(--short);
}
.long {
list-style: var(--long);
}
li a {
width: 200px;
display: inline-block;
vertical-align: middle;
}
li button {
vertical-align: middle;
}
@media (max-width: 1000px) {
ul {
font-size: 10px;
}
}
hr {
color: black;
width: 60%;
margin-top: 10px;
}
footer {
position: fixed;
bottom: 0;
height: 5px;
background-color: #353434;
width: 100vw;
display: flex;
justify-content: space-between;
overflow: hidden;
transition: 1s linear;
flex-wrap: wrap;
}
.attributes {
font-size: 10px;
width: 200px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
opacity: 0;
transition: 1s linear;
}
.attributes a {
margin-bottom: 1px;
}
footer a {
text-decoration: none;
color: white;
margin: -2px;
}
.copyrights {
color: white;
font-size: 12px;
height: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
margin-left: 20px;
opacity: 0;
transition: 1s linear;
}
.github {
margin: 0 5px;
font-size: 20px;
}
footer:hover {
height: 160px;
}
footer:hover .attributes,
footer:hover .copyrights {
opacity: 1;
}
@media (max-width: 1000px) {
footer {
flex-direction: column;
height: 160px;
}
footer .attributes,
footer .copyrights {
opacity: 1;
}
}
.delete {
font-size: 8px;
align-self: flex-end;
color: white;
cursor: pointer;
margin-bottom: 5px;
margin-right: 10px;
padding: 5px;
border: 1px solid red;
border-radius: 8px;
letter-spacing: 1px;
transition: 0.5s linear;
}
.delete:hover {
border: 1px solid white;
color: red;
}
@keyframes move {
100% {
transform: translate3d(0, 0, 1px) rotate(360deg);
}
}
.backgroundLibrary {
width: 200px;
display: flex;
flex-direction: column;
color: white;
font-size: 0.8rem;
}
.attr {
max-width: 50%;
height: 160px;
padding: 20px 20px;
display: flex;
flex-direction: column;
}
/* @media (min-width:1000px){
.backgroundLibrary{ margin: auto;
align-self: center;}
} */
.background {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background: #00000bad;
overflow: hidden;
z-index: -1;
}
.background span {
width: 15vmin;
height: 15vmin;
border-radius: 15vmin;
backface-visibility: hidden;
position: absolute;
animation: move;
animation-duration: 41;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.background span:nth-child(0) {
color: #ffacac;
top: 24%;
left: 19%;
animation-duration: 17s;
animation-delay: -2s;
transform-origin: -8vw -21vh;
box-shadow: -30vmin 0 4.635467248695454vmin currentColor;
}
.background span:nth-child(1) {
color: #815440;
top: 17%;
left: 2%;
animation-duration: 47s;
animation-delay: -7s;
transform-origin: 16vw 2vh;
box-shadow: -30vmin 0 4.263718222156992vmin currentColor;
}
.background span:nth-child(2) {
color: #ffacac;
top: 44%;
left: 11%;
animation-duration: 66s;
animation-delay: -74s;
transform-origin: -16vw 24vh;
box-shadow: 30vmin 0 4.0519723403885495vmin currentColor;
}
.background span:nth-child(3) {
color: #ffacac;
top: 59%;
left: 96%;
animation-duration: 75s;
animation-delay: -80s;
transform-origin: -8vw 18vh;
box-shadow: -30vmin 0 4.743601494318533vmin currentColor;
}
.background span:nth-child(4) {
color: #815440;
top: 56%;
left: 11%;
animation-duration: 84s;
animation-delay: -59s;
transform-origin: -14vw -24vh;
box-shadow: -30vmin 0 4.378939937565176vmin currentColor;
}
.background span:nth-child(5) {
color: #815440;
top: 17%;
left: 18%;
animation-duration: 15s;
animation-delay: -9s;
transform-origin: 18vw 23vh;
box-shadow: 30vmin 0 4.548946488544882vmin currentColor;
}
.background span:nth-child(6) {
color: #815440;
top: 1%;
left: 86%;
animation-duration: 82s;
animation-delay: -74s;
transform-origin: -10vw 7vh;
box-shadow: -30vmin 0 4.210146024252867vmin currentColor;
}
.background span:nth-child(7) {
color: #ffacac;
top: 41%;
left: 79%;
animation-duration: 34s;
animation-delay: -65s;
transform-origin: 20vw -6vh;
box-shadow: -30vmin 0 4.0926369322579506vmin currentColor;
}
.background span:nth-child(8) {
color: #815440;
top: 22%;
left: 9%;
animation-duration: 84s;
animation-delay: -17s;
transform-origin: 12vw 16vh;
box-shadow: -30vmin 0 4.682514857884146vmin currentColor;
}
.background span:nth-child(9) {
color: #00aef0;
top: 22%;
left: 96%;
animation-duration: 41s;
animation-delay: -52s;
transform-origin: -10vw 9vh;
box-shadow: -30vmin 0 4.091861568839813vmin currentColor;
}
.background span:nth-child(10) {
color: #ffacac;
top: 38%;
left: 9%;
animation-duration: 19s;
animation-delay: -90s;
transform-origin: -9vw -6vh;
box-shadow: -30vmin 0 4.653727743800919vmin currentColor;
}
.background span:nth-child(11) {
color: #815440;
top: 52%;
left: 34%;
animation-duration: 84s;
animation-delay: -73s;
transform-origin: -17vw 5vh;
box-shadow: -30vmin 0 4.1575317190220495vmin currentColor;
}
.background span:nth-child(12) {
color: #00aef0;
top: 12%;
left: 11%;
animation-duration: 89s;
animation-delay: -9s;
transform-origin: -17vw -6vh;
box-shadow: 30vmin 0 4.427277666697515vmin currentColor;
}
.background span:nth-child(13) {
color: #815440;
top: 17%;
left: 17%;
animation-duration: 62s;
animation-delay: -23s;
transform-origin: 20vw 15vh;
box-shadow: -30vmin 0 4.711363655248156vmin currentColor;
}
.background span:nth-child(14) {
color: #00aef0;
top: 83%;
left: 42%;
animation-duration: 24s;
animation-delay: -90s;
transform-origin: 25vw 1vh;
box-shadow: 30vmin 0 4.448076583074781vmin currentColor;
}
.background span:nth-child(15) {
color: #815440;
top: 19%;
left: 81%;
animation-duration: 25s;
animation-delay: -37s;
transform-origin: 10vw 14vh;
box-shadow: 30vmin 0 4.631964747835405vmin currentColor;
}
.background span:nth-child(16) {
color: #815440;
top: 83%;
left: 63%;
animation-duration: 10s;
animation-delay: -85s;
transform-origin: 3vw -24vh;
box-shadow: 30vmin 0 4.707742390321935vmin currentColor;
}
.background span:nth-child(17) {
color: #00aef0;
top: 92%;
left: 32%;
animation-duration: 34s;
animation-delay: -66s;
transform-origin: 16vw 9vh;
box-shadow: 30vmin 0 4.494603259144899vmin currentColor;
}
.background span:nth-child(18) {
color: #ffacac;
top: 7%;
left: 28%;
animation-duration: 95s;
animation-delay: -10s;
transform-origin: 0vw 13vh;
box-shadow: -30vmin 0 4.665101905435014vmin currentColor;
}
.background span:nth-child(19) {
color: #815440;
top: 54%;
left: 11%;
animation-duration: 30s;
animation-delay: -24s;
transform-origin: -6vw 1vh;
box-shadow: -30vmin 0 4.082204425845023vmin currentColor;
}
.background span:nth-child(20) {
color: #815440;
top: 86%;
left: 75%;
animation-duration: 68s;
animation-delay: -52s;
transform-origin: -11vw -22vh;
box-shadow: 30vmin 0 4.660074547794825vmin currentColor;
}
.background span:nth-child(21) {
color: #815440;
top: 38%;
left: 16%;
animation-duration: 27s;
animation-delay: -81s;
transform-origin: 15vw 14vh;
box-shadow: -30vmin 0 4.264607016437235vmin currentColor;
}
.background span:nth-child(22) {
color: #ffacac;
top: 31%;
left: 99%;
animation-duration: 68s;
animation-delay: -14s;
transform-origin: -4vw 1vh;
box-shadow: 30vmin 0 4.238763404204483vmin currentColor;
}
.background span:nth-child(23) {
color: #815440;
top: 31%;
left: 62%;
animation-duration: 39s;
animation-delay: -3s;
transform-origin: -11vw 3vh;
box-shadow: 30vmin 0 4.61729122166988vmin currentColor;
}
.background span:nth-child(24) {
color: #815440;
top: 97%;
left: 67%;
animation-duration: 78s;
animation-delay: -16s;
transform-origin: -18vw -12vh;
box-shadow: -30vmin 0 4.042236965078045vmin currentColor;
}
.background span:nth-child(25) {
color: #00aef0;
top: 40%;
left: 74%;
animation-duration: 59s;
animation-delay: -72s;
transform-origin: -1vw 13vh;
box-shadow: -30vmin 0 4.17882702995428vmin currentColor;
}
.background span:nth-child(26) {
color: #00aef0;
top: 3%;
left: 14%;
animation-duration: 48s;
animation-delay: -81s;
transform-origin: 9vw -12vh;
box-shadow: -30vmin 0 4.304726732763885vmin currentColor;
}
.background span:nth-child(27) {
color: #ffacac;
top: 48%;
left: 72%;
animation-duration: 74s;
animation-delay: -46s;
transform-origin: -20vw -18vh;
box-shadow: 30vmin 0 3.816780227687406vmin currentColor;
}
.background span:nth-child(28) {
color: #ffacac;
top: 73%;
left: 95%;
animation-duration: 23s;
animation-delay: -26s;
transform-origin: -21vw -7vh;
box-shadow: -30vmin 0 4.263408633538775vmin currentColor;
}