-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
595 lines (559 loc) · 21.6 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
<!doctype html>
<html id="ROOT" lang="">
<head>
<meta
name="theme-color"
content="#E4E4E7"
media="(prefers-color-scheme: light)" />
<meta
name="theme-color"
content="#23272A"
media="(prefers-color-scheme: dark)" />
<meta
name="keywords"
content="日冕,corona,coronastudio,日冕工作室,launcherx,projbobcat,minecraft,第三方,third-party,opensource,minimal,min,min-page,<%= htmlWebpackPlugin.options.title %>" />
<meta
name="description"
content="Corona Studio is a third-party certain-game-related software service and development studio. Corona Studio(日冕工作室)是以特定游戏第三方服务为业务核心的、由专业人士和爱好者组成的团队" />
<meta charset="utf-8" />
<link rel="stylesheet preload" href="/fonts/style.css" fetchpriority="high"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="/output.css" type="text/css" />
<title>无法加载请刷新</title>
<script>
const CURRENT_VERSION = 109200;
</script>
<style>
* {
transition: all;
user-select: none;
}
.s {
user-select: auto !important;
}
.centr,
.center {
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
margin: auto;
}
.centr-safari{
top: 30vh !important;
/* right: 39vw !important; */
bottom: auto !important;
/* left: 39vw !important; */
margin: auto;
}
.use-icon {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif,
icomoon,
'icomoon',
'fluent-icon' !important;
/* vertical-align: middle; */
}
li {
margin-top: 0.5rem !important;
}
@font-face {
src: url(/fonts/segoe-fluent-icon.ttf);
font-family: 'fluent-icon';
}
.use-icon.force-icomoon-only{
font-family: system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
sans-serif,
icomoon,
'icomoon' !important;
}
.a {
transition-duration: 150ms;
transition-property: all;
display: inline-block;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
color: #f4c108dd;
font-weight: 539;
text-indent: 0%;
padding: 1px;
padding-bottom: 0;
}
.a:hover {
color: #f7c921;
text-decoration: underline;
transform: scale(103%);
position: relative;
}
.a:active {
color: #f5d666;
transform: scale(97%);
}
.a:visited {
color: #b28e0bd5;
text-decoration: line-through;
font-weight: lighter;
}
@media (prefers-color-scheme: dark) {
.reduce-pic {
mix-blend-mode: difference;
}
.a:hover::after{
background-color: #000000a7;
}
}
@media (prefers-color-scheme: light) {
.reduce-pic {
mix-blend-mode: normal;
}
.a:hover::after{
background-color: #c0bebea7;
}
}
.fade-in {
animation: .5s cubic-bezier(0.075, 0.82, 0.165, 1) forwards
fain;
-webkit-animation: .5s cubic-bezier(0.075, 0.82, 0.165, 1)
forwards fain !important;
}
.fade-au {
animation: .5s cubic-bezier(0.075, 0.82, 0.165, 1) forwards
faou;
-webkit-animation: .5s cubic-bezier(0.075, 0.82, 0.165, 1)
forwards faou !important;
}
@keyframes fain {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes faou {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#Navbar>.pressable {
margin-top: auto;
margin-bottom: auto;
height: fit-content;
user-select: none;
}
.rounded-full {
border-radius: 100% !important;
}
.pressable > * {
margin-top: auto;
margin-bottom: auto;
}
.tense,
.tense > * {
display: inline-block;
vertical-align: bottom !important;
}
.tense > i.hidden{
display: none;
}
.hide-text {
transition-duration: 150ms;
transition-property: all;
transition-timing-function: cubic-bezier(0.5, 0, 0.3, 0.9);
margin-right: 1px;
margin-left: 1px;
background-color: black !important;
padding-right: 3px;
padding-left: 3px;
color: black;
user-select: none !important;
}
.hide-text:hover {
color: white !important;
/*need to add title for the span items*/
}
.mourn {
animation: mourn 35s ease forwards;
}
@keyframes mourn {
0% {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
}
75% {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
}
100% {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}
}
.x {
background-clip: text !important;
color: rgb(255, 220, 0);
-webkit-background-clip: text !important;
background: linear-gradient(
to right,
rgb(255, 208, 89),
rgb(249, 170, 60)
);
color: transparent !important;
}
.shine {
background-color: rgba(
250,
250,
233,
0.5555555555555555514
) !important;
}
.shining-eternal{
animation: shining 3s ease-in-out infinite;
}
@keyframes shining {
0%{
background-color: #f5d66623;
}
50%{
background-color: #f5d66696;
}
100%{
background-color: #f5d66623;
}
}
.title-str {
position: relative;
z-index: 1;
}
.title-str::before {
display: block;
position: absolute;
bottom: 5.5px;
float: left;
transform: translateX(-2.5px);
z-index: -1;
background: rgba(231, 193, 41, 0.814);
width: 3.69rem;
height: 0.59rem;
content: '';
}
.title-str-reverse::after {
display: block;
position: absolute;
top: 5.5px;
right: 3px;
float: right;
transform: translateX(-2.5px);
z-index: -1;
background: rgba(231, 193, 41, 0.814);
width: 3.69rem;
height: 0.59rem;
content: '';
}
.title-str-flur.title-str-reverse::after, .title-str-flur.title-str::before{
opacity: .7;
}
</style>
</head>
<body
class="font-sans dark:text-zinc-50 text-zinc-950 bg-zinc-100 dark:bg-zinc-900 transition"
id="BODY"
style="pointer-events: none">
<!-- TRY OVERRIDE -->
<meta
name="theme-color"
content="#E4E4E7"
media="(prefers-color-scheme: light)" />
<meta
name="theme-color"
content="#23272A"
media="(prefers-color-scheme: dark)" />
<!-- OVERRIDE -->
<noscript>
<div style="padding: 1.6rem; height: 100vh; background: #000">
<h3 style="color: #36b1f6; font-size: 39px; margin: 1rem">
Cannot load this page
</h3>
<p style="color: whitesmoke; margin: 1.5rem; width: 64%">
Since your browser is not enabled Javascript for webpages as
modern browsers as Firefox or anything else, this page is
not abled to be rendered. Please try to make your browser
enable Javascript running on webpage, or download a
compatible browser with at least CSS3 support and JS(ES5)
support. If there's not, please try to use another newer
device.
<br />
</p>
<br />
<h3 style="color: #36b1f6; font-size: 39px; margin: 1rem">
无法载入页面
</h3>
<p style="color: whitesmoke; margin: 1.5rem; width: 64%">
由于您的浏览器没有像现代主流浏览器(比如火狐)那样启用对Javascript的支持,这个页面无法展示。请尝试允许浏览器运行Javascript,
或下载对于您的设备最兼容的并且起码支持CSS3和JS(ES5)的浏览器。如果这种浏览器不存在,请尝试换一个设备访问。
<br />
</p>
<br />
<h3 style="color: #36b1f6; font-size: 39px; margin: 1rem">
Не может загружать этот сайт
</h3>
<p style="color: whitesmoke; margin: 1.5rem; width: 64%">
Ваш браузер не включен Javascript для вебсайтов... возможно,
у него нет такая функция? Эта функция современная, и без
той, этот сайт не может загружать. Пожалуйста, включите
функцию «Javascript для вебсайтов», если у вашего браузера
есть такая функция. Или, загрузите совместимый браузер как
минимум с поддержкой CSS3 и JS(ES5). Если в этом мире нет
такого браузера, пожалуйста, попробуйте использовать другое
более новое устройство.
<br />
</p>
<br />
</div>
</noscript>
<div id="app">
<div class="loading w-full h-screen bg-zinc-600 bg-opacity-30 p-3">
</div>
</div>
<!-- built files will be auto injected -->
<a class="hidden" id="ahandler"></a>
<!-- POPUP TOAST -->
<div id="popup-container fixed taz select-none">
<div
class="PopUpToastArea transition fixed w-full m-1 text-center bottom-0 pb-3 "
id="pa">
<!-- -->
</div>
<style>
.taz {
z-index: 999 !important;
}
:root {
--toast-span: 0.58s;
--toast-pos: 12vh;
/* POPUP TOAST CONFIGURATION */
}
.shine {
background-color: rgba(
255,
255,
233,
0.3555555555555555514
) !important;
}
input {
outline: 0;
}
.toast-initial {
transform: translateY(var(--toast-pos));
z-index: 1000 !important;
animation: cubic-bezier(0.075, 0.82, 0.165, 1) popupAnimate
var(--toast-span) forwards;
}
.toast-leave {
animation: cubic-bezier(0.075, 0.82, 0.165, 1) popupLeave
var(--toast-span) forwards;
}
@keyframes popupAnimate {
0% {
transform: translateY(var(--toast-pos));
opacity: .6;
}
100% {
transform: translateY(calc(-1 * var(--toast-pos)));
opacity: 1;
}
}
@keyframes popupLeave {
0% {
transform: translateY(calc(-1 * var(--toast-pos)));
opacity: 1;
}
100% {
transform: translateY(calc(var(--toast-pos) * 2));
opacity: 0;
}
}
.lini {
line-height: 1.1rem;
}
.force-baseline {
vertical-align: baseline !important;
}
</style>
<script>
const PopUpToastContainerClass = "toast-initial fixed p-3 use-icon #COLOR# border opacity-95 shadow-xl hover:shadow-2xl rounded-lg mx-auto max-w-max left-0 right-0 inline-block z-100";
const PopUpToastInnerClass = "use-icon force-baseline inline-block px-2.5 mx-auto lini";
var PopupArea = document.getElementById('pa');
function PushToast(str, ucolor = "bg-emerald-400", later = 0, disappear = 3200){
let color = ucolor;
setTimeout(() => {
switch(color){
case "normal":
// do nothing on the color
break;
case "warn":
color = "bg-yellow-400";
break;
case "err":
color = "bg-rose-400";
break;
case 'blur':
color = 'backdrop-blur-md'
default:
break;
}
let containerC = PopUpToastContainerClass.replace('#COLOR#', color);
let nPopToast = document.createElement('div');
let nPopToastText = document.createElement('p');
nPopToastText.innerHTML = str;
nPopToast.appendChild(nPopToastText);
for(let ii of containerC.split(" ")){
nPopToast.classList.add(ii);
}
for(let ii of PopUpToastInnerClass.split(" ")){
nPopToastText.classList.add(ii);
}
PopupArea.appendChild(nPopToast);
setTimeout(() => {
nPopToast.classList.replace('toast-initial', 'toast-leave')
}, disappear);
setTimeout(() => {
PopupArea.removeChild(nPopToast);
delete nPopToast;
}, 787 + disappear);
}, later);
};
</script>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
var LINKHANDLER = document.getElementById('ahandler'),
CURR_DATE = new Date(),
ORIGIN = window.location.origin;
const DarkSw = (turn = false) => {
let need = (window.matchMedia('(prefers-color-scheme: dark)').matches)
// let need = localStorage.theme == 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)
if (need) {
document.documentElement.classList.add('dark');
localStorage.theme = 'dark';
} else {
document.documentElement.classList.remove('dark');
localStorage.theme = 'light';
}
// (localStorage.theme == 'dark' ? : );
}
DarkSw();
let listeners = {
dark:(mediaQueryList ) => {
if(mediaQueryList.matches){
document.documentElement.classList.add('dark');
localStorage.theme = 'dark';
console.log(0);
}
},
light:(mediaQueryList) => {
if(mediaQueryList.matches){
document.documentElement.classList.remove('dark');
localStorage.theme = 'light';
console.log(1);
}
}
}
const Scroll = (id, shine = true, precise = false) => {
if(id != '.PAGETOP')
{
var to = document.getElementById(id.replace('#', ''));
window.scrollTo({top: (to.offsetTop - (precise ? -1 : 50)), behavior: "smooth"});
if(shine){
to.classList.add('transition');
setTimeout(() => {
to.classList.add('shine');
}, 810);
setTimeout(() => {
to.classList.remove('shine');
}, 1145);
}
delete to;
return;
}else window.scrollTo({top: 0, behavior: "smooth"});
}
let timer = false, _timeout;
const BaseInvokeHeightFix = (x = true) => {
if(timer & x) return;
else {
if(document.getElementById('PMC')){
timer = true;
document.getElementById('PMC').style.height = document.getElementById('aspan').offsetTop + 'px';
console.log('Invoked: reform of window size (root)');
_timeout = setTimeout(() => {
timer = false;
ResetBaseTimer();
}, 890);
}
}
}
const ResetBaseTimer = () => {
setTimeout(() => {
_timeout = null;
}, 123);
}
const UPDATE = () => {
let _token = Math.ceil(Math.random()*10000);
caches.keys().then(function(names) {
for (let name of names)
{
caches.delete(name);
console.log(`removed: ${name}`)
}
});
window.location.replace(`/?renew=${_token}`);
}
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', listeners.dark);
window.matchMedia('(prefers-color-scheme: light)').addEventListener('change', listeners.light);
window.addEventListener('resize', () => { BaseInvokeHeightFix() } );
window.addEventListener('touchstart', () => { BaseInvokeHeightFix() } );
window.addEventListener('scroll', () => { BaseInvokeHeightFix() } );
document.addEventListener('scroll', () => { BaseInvokeHeightFix() } );
setInterval(() => {
console.log('base planned fix height')
BaseInvokeHeightFix(false);
}, 10000);
// window.onclick = (e) => {console.log(e)} // debug
</script>
<style>
.changing {
animation: blazing forwards 3.7s;
transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 8s;
}
@keyframes blazing {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</html>