-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
997 lines (929 loc) · 28.8 KB
/
index.html
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
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
<!DOCTYPE html>
<!--
© 2020 VoiceButtonUnitedProject
Maintained by Coceki & 寒いもみじ雪
-->
<html>
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta name="theme-color" content="#E7EFF8" />
<link rel="manifest" href="/vtuber-voice-button-collection/manifest.json" />
<link
rel="icon"
href="/vtuber-voice-button-collection/images/logo/logo.png"
/>
<title>VTuberの音声ボタンコレクション</title>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-168800369-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-168800369-1");
</script>
<script>
var githubIcon =
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAuIwAALiMBeKU/dgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAkQSURBVHic7Zx/jBRnGce/z+ywe8fRZhdQvIMIpS09NDUloEm1xmrbWIKWtrot9Q9Zj5vZzdUjktBiTOotrYmJSXPao3c3M3tXWrRps6QSe2CstGpbExKDpzbSoESl2DtB5M4Cd93b2Xn84xahZWfmfWdn9zDuJ7nkkvf59T73zvvOvO/zHtCgQYMGDRr8v0Nz5TibzSrj4+PtANqZeRUzLyeiBBG1MHMTEb3LzOeZeYKIjhPRn0ql0pvLli07ms1mnbmIua7J6ujoaFNV9V4AtwH4DIBEADNniOhXzPyKbdsvDA8Pj4UbpTs1T5au6/MAJAFsxmySIiGaLxHRQQBPM/Ne0zSLIdq+jJolK5lMRhcuXLiJmR8BcF2t/FzCcWbuXbBggdnb2ztdCwc1SVY6nf4iMz8BYEUt7PvwNhF9yzCMZ8I2HGqyMpnMUsdxDAAbwrQbBCIaKRaL6TDntNCSlU6nb2PmHwL4UFg2Q+A0M3/VsqyfhmEslMlW1/UeA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4XCbzRN+2RA27UkX4470N2dqm+FJRIJE4DbPtYfAbwI4G1mPkVEKoClAM6ZpjkQ1G/Ax3B4YmJCz+fzMmeI76GqWw9lx526rr8FoAeXJ/+j5R8QvadpH2aL/esBA9hpmuajCDiiLhDG/Rs2TXNnea97IgR7YTLJzHebprkTVSYKCPGykmEYL6qq+hEAgV42w4aIfuY4zo2itydECPXyUX9//z8AbEyn0/cz8/cgV14dFm8x8w7TNJ9HCKPpUmpyDc4wjOdbWlraAWwHUOnFL/Ak66E/xswPtbS0tFuW9RxCThRQw2tt5X9E8Xh3d/euQqGwiYi2MPMt5eaqqgSJ6OCFIn9m/rWiKEPRaPRZ0Q/i/wm2bNmyXNf1a8OwpWnaqkwmsyIMWw0aNGjQoEGDBjXgPzdIXelWnlUQAAAAAElFTkSuQmCC";
//Hololive
var HOLOLIVE = [
{
title: "夸按钮",
name: "湊あくあ",
color: "f980ff",
icon: "2693",
src: "https://aquaminato.moe",
},
{
title: "狼按钮",
name: "大神ミオ",
color: "fc7374",
icon: "1f332",
src: "https://ookamimio.org",
},
{
title: "狐按钮",
name: "白上フブキ",
color: "64B5F6",
icon: "1f33d",
url: "https://fubuki.moe/",
gh: "https://github.com/lonelyion/fubuki-button",
archived: true,
},
{
title: "樱按钮",
name: "さくらみこ",
color: "FF84AB",
icon: "1f338",
src: "https://sakuramiko.org",
gh: "https://github.com/vbup-osc/miko-button",
archived: true,
},
{
title: "Peko按钮",
name: "兎田ぺこら",
color: "849AF5",
icon: "1f955",
src: "https://peko.top",
gh: "https://github.com/vbup-osc/new-pekobutton",
archived: true,
},
{
title: "余按钮",
name: "百鬼あやめ",
color: "FF476C",
icon: "1f608",
src: "https://ayame.yokinanya.icu",
},
{
title: "祭按钮",
name: "夏色まつり",
color: "FFBC6B",
icon: "1f3ee",
src: "https://natsuiromatsuri.moe",
archived: true,
},
{
title: "星按钮",
name: "星街すいせい",
color: "6375BD",
icon: "2604",
src: "https://suisei.moe",
},
{
title: "粽按钮",
name: "潤羽るしあ",
color: "88D1B9",
icon: "1f98b",
src: "https://rushia.moe",
},
{
title: "Towa按钮",
name: "常闇トワ",
color: "816B96",
icon: "1f47e",
src: "https://towa.live",
archived: true,
},
{
title: "狗按钮",
name: "戌神ころね",
color: "F1C48D",
icon: "1f950",
src: "https://korone.icu",
archived: true,
},
{
title: "猫按钮",
name: "猫又おかゆ",
color: "B350BD",
icon: "1f359",
src: "https://okayu.icu",
gh: "https://github.com/gyf200708/okayu-button",
archived: true,
},
{
title: "桃按钮",
name: "黒桃影",
color: "FF97CB",
icon: "2660",
src: "https://sepeach.com",
archived: true,
},
{
title: "船长按钮",
name: "宝鐘マリン",
color: "C06375",
icon: "1f3f4-200d-2620-fe0f",
src: "https://www.ahoybutton.art",
},
{
title: "阿媂娅按钮",
name: "アティア",
color: "6d00d3",
icon: "2744",
src: "https://artia.moe",
archived: true,
},
{
title: "WTM按钮",
name: "角巻わため",
color: "FDFAC1",
icon: "1f40f",
src: "https://www.watame.moe",
archived: true,
},
{
title: "彼方碳按钮",
name: "天音かなた",
color: "7A86CD",
icon: "1f4ab",
src: "https://kanata.club",
gh: "https://github.com/vbup-osc/kanata-button",
archived: true,
},
{
title: "心按钮",
name: "赤井はあと",
color: "ffb400",
icon: "2764",
src: "https://haato.club",
archived: true,
},
{
title: "昴按钮",
name: "大空スバル",
color: "87e3ea",
icon: "1f691",
src: "https://oozorasubaru.com",
gh: "https://github.com/vbup-osc/subaru-button",
archived: true,
},
{
title: "梅露按钮",
name: "夜空メル",
color: "ffa205",
icon: "1f31f",
src: "https://yozoramel.org",
gh: "https://github.com/vbup-osc/mel-button",
archived: true,
},
];
//彩虹社
var NIJISANJI = [
{
title: "御伽原江良按钮",
name: "御伽原江良",
color: "FEC107",
icon: "1f3f0",
src: "https://nucleareal.jp/OtogibaraEra/voice.html",
},
{
title: "文野環按钮",
name: "文野環",
color: "5B3B2C",
icon: "1f41f",
src: "https://fumino-tamaki-button.firebaseapp.com/",
},
{
title: "铃原按钮",
name: "鈴原るる",
color: "FFB6C1",
icon: "1f3a8",
src: "http://suzuhara.starfree.jp",
archived: true,
},
{
title: "笹按钮",
name: "笹木咲",
color: "fc05ff",
icon: "1f38b",
src: "http://sasa-kids.com",
gh: "https://github.com/vbup-osc/sasa-button",
archived: true,
},
];
//ViViD
var VIVID = [
{
title: "Bell按钮",
name: "猫芒ベル",
color: "FFAACB",
icon: "1f514",
src: "https://vividbtn.colter.top/bell",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
{
title: "Memo按钮",
name: "泡沫メモリ",
color: "D18EE9",
icon: "1f47b",
src: "https://vividbtn.colter.top/memory",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
{
title: "Lily按钮",
name: "白百合リリィ",
color: "B3E5FC",
icon: "1f36e",
src: "https://vividbtn.colter.top/lily",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
{
title: "Elena按钮",
name: "勇凪エレナ",
color: "e69d00",
icon: "1f36f",
src: "https://vividbtn.colter.top/elena",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
{
title: "Anko按钮",
name: "二和餅あんこ",
color: "79A3E8",
icon: "1f361",
src: "https://vividbtn.colter.top/anko",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
{
title: "Lock按钮",
name: "クロノロク",
color: "FF5858",
icon: "1f512",
src: "https://vividbtn.colter.top/lock",
gh: "https://github.com/ViViDButton/vivid-button",
archived: true,
},
];
//其它
var OTHER = [
{
title: "七奈按钮",
name: "神楽七奈",
color: "C8DCF0",
icon: "1f336",
src: "https://kaguranana-button-blacktunes.vercel.app/",
},
{
title: "福按钮",
name: "招福にゃこ",
color: "B693D5",
icon: "1f37a",
scr: "https://nyakoshofuku.org",
gh: "https://github.com/vbup-osc/shofuku-button",
archived: true,
},
{
title: "Mea按钮",
name: "神楽めあ",
color: "618db4",
icon: "1f365",
src: "https://meamea.moe",
gh: "https://github.com/midou-midou/xuyanshe-voice-button",
},
{
title: "眠按钮",
name: "眠目直木",
color: "F7F6DA",
icon: "1f408",
src: "https://mmzm.moe",
archived: true,
},
{
title: "猫猫按钮",
name: "Hiiro",
color: "F5C1BB",
icon: "1f363",
src: "https://hiiro.club",
},
{
title: "梦魇按钮",
name: "希亚娜Ciyana",
color: "4d5c9c",
icon: "1f4a4",
src: "https://ciyana.moe",
gh: "https://github.com/FrozenLemonTee/ciyana-button",
archived: true,
},
{
title: "虚研社按钮",
name: "虚研社",
color: "CD3951",
icon: "1f308",
src: "https://voice.xuyanshe.club",
gh: "https://github.com/midou-midou/xuyanshe-voice-button",
},
{
title: "Eliro按钮",
name: "彼岸霜滢Eliro",
color: "BFB8FF",
icon: "2744",
src: "https://eliro.top",
},
{
title: "希侑按钮",
name: "希侑Kiyuu",
color: "FF91AE",
icon: "1f408-200d-2b1b",
src: "https://kiyuu.club/",
archived: true,
},
{
title: "大白猫按钮",
name: "艾尔莎",
color: "7092c5",
icon: "",
src: "https://elsa.rce.moe/",
},
{
title: "豹按钮",
name: "白神遥",
color: "ffaea6",
icon: "",
src: "https://haruka.cmyr.ltd/",
gh: "https://github.com/CaoMeiYouRen/shirakami-haruka-button",
},
{
title: "时雨羽衣按钮",
name: "しぐれうい",
color: "fdf8f1",
icon: "",
src: "http://cbtm.html.xdomain.jp/usbtn/usbtn.html",
},
{
title: "塔菲按钮",
name: "永雏塔菲",
color: "fbadc4",
icon: "",
src: "http://cbtm.html.xdomain.jp/usbtn/usbtn.html",
gh: "https://github.com/ChowDPa02k/taffy-button",
},
{
title: "Monaka按钮",
name: "桃井最中Monaka",
color: "ffc0cb",
icon: "",
src: "https://monaka.yokinanya.icu/",
gh: "https://github.com/yokinanya/monaka-button",
},
{
title: "Miya按钮",
name: "喵田弥夜Miya",
color: "faead3",
icon: "",
src: "https://miya.yokinanya.icu/",
gh: "https://github.com/yokinanya/miya-button",
},
];
function getRandom(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
var count = [0, 0];
function init() {
//初始化
boxCreate();
buttonCreate();
var countDom = document.getElementById("count");
countDom.innerText = count[0] + "/" + count[1];
}
function boxCreate() {
//生成背景
for (var i = 0; i < getRandom(1, 3); i++) {
var box = document.createElement("div");
box.className = "box";
box.style.animation =
"fade-in 0.5s forwards, horizontal " +
getRandom(30, 50) / 10 +
"s infinite linear alternate, vertical " +
getRandom(30, 50) / 10 +
"s infinite linear alternate";
box.style.animationDelay =
getRandom((i + 1) * 10, (i + 2) * 10) / 10 + "s";
var item = document.createElement("div");
var size = getRandom(200, 400) + "px";
item.style.width = size;
item.style.height = size;
item.style.transform = "rotate(" + getRandom(30, 60) + "deg)";
item.style.animationDuration = getRandom(i + 5, 10) + "s";
box.appendChild(item);
document.body.appendChild(box);
}
}
function buttonCreate() {
var hololive = document.getElementById("hololive");
var nijisanji = document.getElementById("nijisanji");
var vivid = document.getElementById("vivid");
var personal = document.getElementById("personal");
buttonCreateFinal(hololive, HOLOLIVE);
buttonCreateFinal(nijisanji, NIJISANJI);
buttonCreateFinal(vivid, VIVID);
buttonCreateFinal(personal, OTHER);
}
function getIconUrl(key) {
return (
"https://cdn.jsdelivr.net/gh/twitter/twemoji/assets/svg/" +
key +
".svg"
);
}
function buttonCreateFinal(type, TYPE) {
for (var i = 0; i < TYPE.length; i++) {
++count[1];
var button = document.createElement("a");
var placeholder = document.createElement("div");
var text = document.createElement("div");
var title = document.createElement("span");
var name = document.createElement("span");
var img = document.createElement("img");
var colorS = parseInt("0x" + TYPE[i].color);
var colorE = colorS - 3484928;
var colorT = colorE.toString(16); //得到渐变后的颜色值
var src = TYPE[i].src;
var RGB = hexToRgb(TYPE[i].color);
var RGBT = hexToRgb(colorT);
if (TYPE[i].icon) {
img.src = getIconUrl(TYPE[i].icon);
}
img.width = "25";
button.target = "_blank";
button.className = "btn";
button.style.background =
"linear-gradient(88.33deg, #" +
TYPE[i].color +
" -7.64%,#" +
colorT +
" 145.94%";
button.style.boxShadow =
"-6px -6px 16px rgba(255, 255, 255, 0.6), 6px 9px 40px rgba(" +
RGBT[0] +
"," +
RGBT[1] +
"," +
RGBT[2] +
", 0.44)";
button.style.border = "#" + colorT;
text.className = "text";
title.innerText = TYPE[i].title;
text.appendChild(title);
if (TYPE[i].name) {
name.innerText = "(" + TYPE[i].name + ")";
text.appendChild(name);
}
if (TYPE[i].archived) {
button.style.background =
"linear-gradient(88.33deg, rgb(255, 170, 203) -7.64%, rgb(202, 125, 203) 145.94%)";
button.style.filter = "grayscale(100%)";
if (TYPE[i].gh) {
button.href = TYPE[i].gh;
img.src = githubIcon;
} else {
button.style.textDecoration = "line-through";
button.style.pointerEvents = "none";
}
} else {
++count[0];
button.style.textShadow =
"-1px -1px 2px rgba(" +
RGB[0] +
"," +
RGB[1] +
"," +
RGB[2] +
", 0.9), 1px 1px 2px rgba(20, 44, 73, 0.31)";
if (TYPE[i].src) {
button.href = TYPE[i].src;
} else {
button.style.pointerEvents = "none";
}
}
placeholder.style.width = "35px";
placeholder.style.flex = "0 0 35px";
button.appendChild(img);
button.appendChild(text);
button.appendChild(placeholder);
type.appendChild(button);
}
}
function hexToRgb(hex) {
//HEX颜色转换RGB
var R = hex.substr(0, 2);
var G = hex.substr(2, 2);
var B = hex.substr(4, 2);
R = parseInt("0x" + R);
G = parseInt("0x" + G);
B = parseInt("0x" + B);
return [R, G, B];
}
</script>
<style>
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap");
a {
color: #31456a;
text-decoration: none;
}
* {
/*不允许选中字符*/
-moz-user-select: none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
::-webkit-scrollbar {
/*滚动条美化*/
width: 7px;
height: 7px;
background-color: #f5f5f5;
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #c8c8c8;
}
html {
animation: enterSite 0.9s;
/*进入动画*/
background: #ebf3fa;
font-family: "Noto Sans SC", sans-serif;
}
body {
margin: 0 50px;
display: flex;
flex-direction: column;
align-items: center;
}
.wrapper {
max-width: 1500px;
}
.banner {
margin: 20px;
margin-top: 50px;
}
.banner > span {
margin: 5px;
padding: 5px;
font-family: Gilroy;
font-style: normal;
font-weight: bold;
font-size: 30px;
align-items: center;
letter-spacing: 0.02em;
color: #31456a;
}
#logo {
font-family: Gilroy;
font-style: normal;
font-weight: bolder;
font-size: 60px;
color: #00ceff;
height: auto;
width: max-content;
display: flex;
}
.logom {
filter: drop-shadow(72px 112px 132px rgba(119, 142, 165, 0.4));
margin: 4px;
background: #fff;
border-radius: 8px;
width: 50px;
height: 50px;
}
.logom > span {
position: relative;
top: -25px;
right: -12px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
}
.cate {
box-shadow: 72px 112px 132px rgba(119, 142, 165, 0.4);
font-family: Gilroy;
font-weight: bold;
font-size: 22px;
letter-spacing: 0.02em;
color: #31456a;
background: linear-gradient(
180deg,
rgba(235, 243, 250, 0.8) 9.85%,
rgba(221, 231, 243, 0.8) 53.92%,
rgba(230, 240, 249, 0.8) 100%
);
margin: 0 10px 10px 10px;
padding: 20px;
height: min-content;
border-radius: 20px;
}
.inside {
display: flex;
flex-direction: column;
justify-content: center;
}
.title,
.sub-title {
text-align: center;
margin: 0;
}
.sub-title {
font-size: 12px;
}
.btn {
color: #ffffff;
border: 0;
outline: none;
border-radius: 20px;
margin: 5px;
padding: 10px;
font-family: Gilroy;
font-style: normal;
font-weight: bold;
font-size: 18px;
line-height: 150%;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
letter-spacing: 0.02em;
transition: 0.2s;
cursor: pointer;
}
.btn:hover {
transform: scale(1.1, 1.1);
}
.btn:active {
transform: scale(0.9, 0.9);
}
.btn img {
margin: 0 5px;
}
.text {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 5px;
}
.text span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.footer {
margin-top: 20px;
text-align: center;
font-family: Gilroy;
font-style: normal;
font-weight: 500;
font-size: 15px;
line-height: 160%;
align-items: center;
color: #31456a;
padding: 30px 0 10px 0;
display: flex;
flex-direction: column;
}
.footer a {
text-decoration: underline;
}
#VBUP {
position: fixed;
right: 0;
bottom: -2%;
font-family: Gilroy;
font-style: normal;
font-weight: bolder;
font-size: 200px;
line-height: 200px;
background: linear-gradient(to bottom, #e3edf7 18%, #bac7d5);
background-clip: text;
opacity: 0.7;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
z-index: -1;
}
.box {
opacity: 0;
position: fixed;
top: 0;
left: 0;
animation-composition: accumulate;
z-index: -2;
}
.box div {
background: #e3edf7;
box-shadow: inset -9.2px -9.2px 36.8px rgba(255, 255, 255, 0.8),
inset 9.2px 9.2px 27.6px rgba(136, 165, 191, 0.4);
border-radius: 36.8px;
animation: box 5s infinite linear;
}
@keyframes box {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes horizontal {
from {
transform: translateX(0);
}
to {
transform: translateX(calc(100vw - 100%));
}
}
@keyframes vertical {
from {
transform: translateY(0);
}
to {
transform: translateY(calc(100vh - 100%));
}
}
@keyframes enterSite {
from {
filter: blur(90px);
}
to {
filter: blur(0px);
}
}
@media screen and (max-width: 800px) {
/*手机*/
.col {
width: 100%;
}
body {
margin: 5px;
}
.banner {
text-align: center;
margin-bottom: 10px;
}
#logo {
transform: translateX(-5px);
margin: 0 auto;
}
#VBUP {
font-size: 160px;
}
}
@media screen and (min-width: 800px) {
.col {
width: 85%;
}
.banner {
text-align: center;
}
#logo {
transform: translateX(-5px);
margin: 0 auto;
}
}
@media screen and (min-width: 900px) and (max-width: 1200px) {
.container {
display: block;
column-count: 2;
column-gap: 0;
}
.col {
width: 100%;
break-inside: avoid;
}
.banner {
text-align: left;
}
#logo {
margin: 0;
}
}
@media screen and (min-width: 1200px) {
.col {
width: 25%;
}
.banner {
text-align: left;
}
#logo {
margin: 0;
}
}
</style>
</head>
<body>
<div class="wrapper">
<div class="banner">
<div id="logo">
<div id="logom1" class="logom"><span>V</span></div>
<div id="logom2" class="logom"><span>B</span></div>
<div id="logom3" class="logom"><span>U</span></div>
<div id="logom4" class="logom"><span>P</span></div>
</div>
<span>VTuberの音声ボタンコレクション <span id="count"></span></span>
</div>
<div class="container">
<div class="col">
<div class="cate">
<div class="inside" id="hololive">
<p class="sub-title">ホロライブ</p>
<p class="title">Hololive</p>
<!-- 按钮会生成在这里 -->
</div>
</div>
</div>
<div class="col">
<div class="cate">
<div class="inside" id="nijisanji">
<p class="sub-title">にじさんじ</p>
<p class="title">彩虹社</p>
<!-- 按钮会生成在这里 -->
</div>
</div>
</div>
<div class="col">
<div class="cate">
<div class="inside" id="vivid">
<p class="sub-title">ビビッド</p>
<p class="title">ViViD</p>
<!-- 按钮会生成在这里 -->
</div>
</div>
</div>
<div class="col">
<div class="cate">
<div class="inside" id="personal">
<p class="sub-title">その他</p>
<p class="title">其它</p>
<!-- 按钮会生成在这里 -->
</div>
</div>
</div>
</div>
</div>
<div id="VBUP">VBUP</div>
<div class="footer">
本网站仅用于收集网址,网址指向的任何网站内容都与本网站无关<br />
<!--このWebサイトはURLの収集にのみ使用され、URLが指すWebサイトのコンテンツはこのWebサイトに関連していません<br>-->
<div>
Powered by
<a href="https://github.com/vbup-osc" target="_blank"
>Voice Button United Project</a
>
</div>
Thanks: 自闭的一只懒猫 & Coceki & 寒いもみじ雪 & Blacktunes
</div>
</body>
<script>
init();
</script>
</html>