mikuyyds commited on
Commit
0a97270
·
verified ·
1 Parent(s): 9040f89

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +574 -18
style.css CHANGED
@@ -1,28 +1,584 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
 
 
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --main-pink: #FFA1C9;
3
+ --sky-blue: #87CEEB;
4
+ --mint-green: #98FB98;
5
+ --deep-purple: #9370DB;
6
+ --bg-blur: blur(12px);
7
+ }
8
+
9
+ [data-theme="dark"] {
10
+ --main-pink: #FF69B4;
11
+ --sky-blue: #4682B4;
12
+ --deep-purple: #6A5ACD;
13
+ }
14
+
15
+ *, *:before, *:after {
16
+ box-sizing: border-box;
17
+ }
18
+
19
  body {
20
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
21
+ background: linear-gradient(145deg, var(--sky-blue) 0%, var(--main-pink) 100%);
22
+ min-height: 100vh;
23
+ padding: 10px;
24
+ position: relative;
25
+ overflow-x: hidden;
26
+ -webkit-tap-highlight-color: transparent;
27
+ }
28
+
29
+ [data-theme="dark"] body {
30
+ background: linear-gradient(145deg, #2F4F4F, #4B0082);
31
+ }
32
+
33
+ .anime-character {
34
+ position: fixed;
35
+ bottom: 20px;
36
+ right: 20px;
37
+ z-index: 0;
38
+ pointer-events: none;
39
+ max-width: 200px;
40
+ opacity: 0.9;
41
+ display: none;
42
+ transition: transform 0.3s ease;
43
+ }
44
+
45
+ .anime-character:hover {
46
+ transform: scale(1.1);
47
+ }
48
+
49
+ .widgets-container {
50
+ position: fixed;
51
+ top: 5px;
52
+ right: 5px;
53
+ display: flex;
54
+ gap: 8px;
55
+ z-index: 1000;
56
+ }
57
+
58
+ .widget-card {
59
+ background: rgba(255, 255, 255, 0.95);
60
+ backdrop-filter: var(--bg-blur);
61
+ padding: 6px 12px;
62
+ border-radius: 15px;
63
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
64
+ display: flex;
65
+ align-items: center;
66
+ gap: 5px;
67
+ font-size: 13px;
68
+ }
69
+
70
+ @supports not (backdrop-filter: blur(12px)) {
71
+ .widget-card, .main-container, .media-card, .footer {
72
+ background: rgba(255, 255, 255, 0.8);
73
+ }
74
  }
75
 
76
+ .main-container {
77
+ position: relative;
78
+ max-width: 800px;
79
+ margin: 10px auto;
80
+ background: rgba(255, 255, 255, 0.9);
81
+ backdrop-filter: var(--bg-blur);
82
+ border-radius: 20px;
83
+ padding: 15px;
84
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
85
+ border: 1px solid rgba(255, 255, 255, 0.3);
86
  }
87
 
88
+ #theme-toggle {
89
+ position: absolute;
90
+ top: 15px;
91
+ right: 15px;
92
+ padding: 8px;
93
+ border-radius: 50%;
94
+ background: var(--deep-purple);
95
+ color: white;
96
+ border: none;
97
+ cursor: pointer;
98
+ transition: background 0.3s;
99
  }
100
 
101
+ #theme-toggle:hover {
102
+ background: var(--main-pink);
 
 
 
 
103
  }
104
 
105
+ #random-quote {
106
+ text-align: center;
107
+ color: #6A5ACD;
108
+ background: rgba(255, 255, 255, 0.7);
109
+ padding: 10px;
110
+ border-radius: 10px;
111
+ margin-bottom: 15px;
112
+ font-size: 14px;
113
+ cursor: pointer;
114
  }
115
+
116
+ .input-box {
117
+ position: relative;
118
+ margin: 15px 0;
119
+ background: #fff;
120
+ border-radius: 40px;
121
+ box-shadow: 0 3px 12px rgba(255, 161, 201, 0.2);
122
+ overflow: hidden;
123
+ }
124
+
125
+ #urlInput {
126
+ width: 100%;
127
+ padding: 12px 100px 12px 40px;
128
+ border: none;
129
+ background: transparent;
130
+ font-size: 14px;
131
+ color: #6A5ACD;
132
+ outline: none;
133
+ }
134
+
135
+ #urlInput::placeholder {
136
+ color: #A9A9A9;
137
+ font-size: 13px;
138
+ }
139
+
140
+ #urlInput:focus {
141
+ box-shadow: 0 0 0 2px var(--deep-purple);
142
+ }
143
+
144
+ .input-icon {
145
+ position: absolute;
146
+ left: 12px;
147
+ top: 50%;
148
+ transform: translateY(-50%);
149
+ color: #C8A2C8;
150
+ font-size: 16px;
151
+ }
152
+
153
+ .parse-btn, .download-btn, .download-all-btn, .share-btn, #feedback-btn {
154
+ padding: 8px 15px;
155
+ background: linear-gradient(135deg, var(--deep-purple), var(--main-pink));
156
+ color: white;
157
+ border: none;
158
+ border-radius: 25px;
159
+ cursor: pointer;
160
+ display: inline-flex;
161
+ align-items: center;
162
+ gap: 5px;
163
+ font-size: 13px;
164
+ touch-action: manipulation;
165
+ transition: filter 0.2s, transform 0.2s;
166
+ }
167
+
168
+ .download-btn, .download-all-btn, .share-btn, #feedback-btn {
169
+ position: static;
170
+ }
171
+
172
+ .parse-btn:hover, .download-btn:hover, .download-all-btn:hover, .share-btn:hover, #feedback-btn:hover {
173
+ filter: brightness(1.1);
174
+ transform: translateY(-1px);
175
+ }
176
+
177
+ .parse-btn:focus, .download-btn:focus, .download-all-btn:focus, .share-btn:focus, #feedback-btn:focus {
178
+ outline: 2px solid var(--deep-purple);
179
+ }
180
+
181
+ .parse-btn:active {
182
+ transform: scale(0.95);
183
+ transition: transform 0.1s;
184
+ }
185
+
186
+ .parse-btn.parsing {
187
+ animation: pulse 1.5s infinite;
188
+ }
189
+
190
+ @keyframes pulse {
191
+ 0% { transform: scale(1); }
192
+ 50% { transform: scale(1.05); }
193
+ 100% { transform: scale(1); }
194
+ }
195
+
196
+ .parse-btn:disabled, .download-btn:disabled, .download-all-btn:disabled {
197
+ background: #ccc;
198
+ cursor: not-allowed;
199
+ transform: none;
200
+ animation: none;
201
+ }
202
+
203
+ .media-card {
204
+ background: rgba(255, 255, 255, 0.95);
205
+ border-radius: 15px;
206
+ padding: 15px;
207
+ margin: 15px 0;
208
+ overflow: hidden;
209
+ }
210
+
211
+ .video-container {
212
+ position: relative;
213
+ padding-top: 56.25%;
214
+ border-radius: 12px;
215
+ overflow: hidden;
216
+ }
217
+
218
+ .video-cover {
219
+ position: absolute;
220
+ top: 0;
221
+ left: 0;
222
+ width: 100%;
223
+ height: 100%;
224
+ object-fit: cover;
225
+ display: block;
226
+ }
227
+
228
+ video {
229
+ position: absolute;
230
+ top: 0;
231
+ left: 0;
232
+ width: 100%;
233
+ height: 100%;
234
+ object-fit: cover;
235
+ }
236
+
237
+ .progress-bar {
238
+ width: 100%;
239
+ height: 8px;
240
+ margin: 10px 0;
241
+ border-radius: 5px;
242
+ background: #eee;
243
+ accent-color: var(--deep-purple);
244
+ }
245
+
246
+ .download-info {
247
+ text-align: center;
248
+ color: #6A5ACD;
249
+ font-size: 12px;
250
+ }
251
+
252
+ .gallery-item {
253
+ position: relative;
254
+ cursor: zoom-in;
255
+ transition: transform 0.2s;
256
+ }
257
+
258
+ .gallery-item:hover {
259
+ transform: scale(1.05);
260
+ }
261
+
262
+ .gallery-item:focus {
263
+ outline: 2px solid var(--deep-purple);
264
+ }
265
+
266
+ .image-index {
267
+ position: absolute;
268
+ top: 8px;
269
+ right: 8px;
270
+ background: rgba(0, 0, 0, 0.6);
271
+ color: white;
272
+ padding: 4px;
273
+ border-radius: 8px;
274
+ }
275
+
276
+ .bouncing-loader {
277
+ display: flex;
278
+ justify-content: center;
279
+ margin: 12px 0;
280
+ }
281
+
282
+ .bouncing-loader div {
283
+ width: 10px;
284
+ height: 10px;
285
+ margin: 3px;
286
+ background: var(--deep-purple);
287
+ border-radius: 50%;
288
+ animation: bouncing 0.6s infinite alternate;
289
+ will-change: transform;
290
+ }
291
+
292
+ .bouncing-loader div:nth-child(2) {
293
+ animation-delay: 0.2s;
294
+ }
295
+
296
+ .bouncing-loader div:nth-child(3) {
297
+ animation-delay: 0.4s;
298
+ }
299
+
300
+ @keyframes bouncing {
301
+ to {
302
+ translate: 0 -10px;
303
+ }
304
+ }
305
+
306
+ .debug-info {
307
+ position: fixed;
308
+ bottom: 5px;
309
+ left: 5px;
310
+ background: rgba(0, 0, 0, 0.7);
311
+ color: white;
312
+ padding: 6px;
313
+ border-radius: 4px;
314
+ font-size: 11px;
315
+ z-index: 9999;
316
+ max-width: 90%;
317
+ }
318
+
319
+ .platform-list {
320
+ display: grid;
321
+ grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
322
+ gap: 10px;
323
+ margin: 15px 0;
324
+ }
325
+
326
+ .platform-item {
327
+ display: flex;
328
+ align-items: center;
329
+ gap: 8px;
330
+ padding: 8px;
331
+ background: rgba(255, 255, 255, 0.8);
332
+ border-radius: 10px;
333
+ text-decoration: none;
334
+ color: #6A5ACD;
335
+ transition: transform 0.2s;
336
+ position: relative;
337
+ }
338
+
339
+ .platform-item:hover, .platform-item:focus {
340
+ transform: scale(1.05);
341
+ }
342
+
343
+ .platform-item:focus {
344
+ outline: 2px solid var(--deep-purple);
345
+ }
346
+
347
+ .platform-icon {
348
+ width: 24px;
349
+ height: 24px;
350
+ object-fit: contain;
351
+ border-radius: 4px;
352
+ cursor: zoom-in;
353
+ }
354
+
355
+ .platform-tooltip {
356
+ display: none;
357
+ position: absolute;
358
+ top: -30px;
359
+ left: 50%;
360
+ transform: translateX(-50%);
361
+ background: #6A5ACD;
362
+ color: white;
363
+ padding: 4px 8px;
364
+ border-radius: 4px;
365
+ font-size: 12px;
366
+ z-index: 10;
367
+ white-space: nowrap;
368
+ }
369
+
370
+ .platform-item:hover .platform-tooltip, .platform-item:focus .platform-tooltip {
371
+ display: block;
372
+ }
373
+
374
+ .tutorial-content {
375
+ background: rgba(255, 255, 255, 0.8);
376
+ padding: 15px;
377
+ border-radius: 10px;
378
+ }
379
+
380
+ .tutorial-content ol {
381
+ margin: 0;
382
+ padding-left: 20px;
383
+ }
384
+
385
+ .faq details {
386
+ margin: 10px 0;
387
+ background: rgba(255, 255, 255, 0.8);
388
+ border-radius: 10px;
389
+ padding: 10px;
390
+ }
391
+
392
+ .faq summary {
393
+ cursor: pointer;
394
+ font-weight: bold;
395
+ color: #6A5ACD;
396
+ }
397
+
398
+ .faq p {
399
+ margin: 10px 0;
400
+ }
401
+
402
+ .share-buttons {
403
+ display: flex;
404
+ gap: 10px;
405
+ justify-content: center;
406
+ }
407
+
408
+ #feedback-btn {
409
+ display: block;
410
+ margin: 15px auto;
411
+ }
412
+
413
+ #feedback-form {
414
+ position: fixed;
415
+ top: 50%;
416
+ left: 50%;
417
+ transform: translate(-50%, -50%);
418
+ background: rgba(255, 255, 255, 0.95);
419
+ padding: 20px;
420
+ border-radius: 15px;
421
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
422
+ z-index: 10000;
423
+ max-width: 90%;
424
+ }
425
+
426
+ #feedback-form textarea {
427
+ width: 100%;
428
+ height: 100px;
429
+ margin: 10px 0;
430
+ border-radius: 10px;
431
+ border: 1px solid #ccc;
432
+ padding: 10px;
433
+ }
434
+
435
+ #feedback-form button {
436
+ margin: 5px;
437
+ }
438
+
439
+ #visitor-count {
440
+ text-align: center;
441
+ color: #6A5ACD;
442
+ margin: 15px 0;
443
+ font-size: 14px;
444
+ }
445
+
446
+ .history-box {
447
+ margin-top: 15px;
448
+ }
449
+
450
+ .history-item {
451
+ display: flex;
452
+ justify-content: space-between;
453
+ align-items: center;
454
+ background: rgba(255, 255, 255, 0.8);
455
+ padding: 8px;
456
+ margin: 5px 0;
457
+ border-radius: 10px;
458
+ cursor: pointer;
459
+ transition: background 0.2s;
460
+ }
461
+
462
+ .history-item:hover {
463
+ background: rgba(255, 255, 255, 1);
464
+ }
465
+
466
+ .history-item:focus {
467
+ outline: 2px solid var(--deep-purple);
468
+ }
469
+
470
+ .delete-history {
471
+ background: none;
472
+ border: none;
473
+ color: #FF4500;
474
+ cursor: pointer;
475
+ font-size: 16px;
476
+ }
477
+
478
+ .footer {
479
+ text-align: center;
480
+ margin-top: 20px;
481
+ padding: 15px;
482
+ background: rgba(255, 255, 255, 0.7);
483
+ border-radius: 10px;
484
+ color: #6A5ACD;
485
+ font-size: 12px;
486
+ }
487
+
488
+ .back-to-top {
489
+ position: fixed;
490
+ bottom: 20px;
491
+ right: 20px;
492
+ padding: 10px;
493
+ background: var(--deep-purple);
494
+ color: white;
495
+ border-radius: 50%;
496
+ border: none;
497
+ cursor: pointer;
498
+ z-index: 1000;
499
+ }
500
+
501
+ .back-to-top:hover {
502
+ background: var(--main-pink);
503
+ }
504
+
505
+ .sr-only {
506
+ position: absolute;
507
+ width: 1px;
508
+ height: 1px;
509
+ padding: 0;
510
+ margin: -1px;
511
+ overflow: hidden;
512
+ clip: rect(0, 0, 0, 0);
513
+ }
514
+
515
+ @media (max-width: 360px) {
516
+ .main-container {
517
+ padding: 10px;
518
+ }
519
+ #urlInput {
520
+ font-size: 12px;
521
+ padding-right: 90px;
522
+ }
523
+ .parse-btn {
524
+ padding: 6px 12px;
525
+ font-size: 12px;
526
+ }
527
+ .platform-icon {
528
+ width: 18px;
529
+ height: 18px;
530
+ }
531
+ }
532
+
533
+ @media (max-width: 480px) {
534
+ .main-container {
535
+ padding: 12px;
536
+ }
537
+ #urlInput {
538
+ font-size: 13px;
539
+ padding-right: 95px;
540
+ }
541
+ .parse-btn {
542
+ padding: 7px 14px;
543
+ font-size: 12px;
544
+ }
545
+ .widgets-container {
546
+ top: 5px;
547
+ right: 5px;
548
+ }
549
+ .platform-list {
550
+ grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
551
+ }
552
+ .platform-item {
553
+ padding: 6px;
554
+ font-size: 12px;
555
+ }
556
+ .platform-icon {
557
+ width: 20px;
558
+ height: 20px;
559
+ }
560
+ }
561
+
562
+ @media (min-width: 768px) {
563
+ .main-container {
564
+ padding: 25px;
565
+ margin: 15px auto;
566
+ }
567
+ #urlInput {
568
+ font-size: 15px;
569
+ padding: 14px 120px 14px 45px;
570
+ }
571
+ .parse-btn {
572
+ padding: 10px 20px;
573
+ font-size: 14px;
574
+ }
575
+ .anime-character {
576
+ display: block;
577
+ }
578
+ }
579
+
580
+ @media (min-width: 1024px) {
581
+ .main-container {
582
+ max-width: 900px;
583
+ }
584
+ }