-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (82 loc) · 2.2 KB
/
index.html
File metadata and controls
99 lines (82 loc) · 2.2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="ico" href="/kthcloud.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>kthcloud visualize</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@300&family=JetBrains+Mono:wght@100;400;700&family=Noto+Color+Emoji&family=Public+Sans:wght@100;400;700&family=Rubik+Mono+One&display=swap"
rel="stylesheet">
</head>
<body style="font-family: 'Public Sans', 'Noto Color Emoji'; background-color: #000;">
<div class='stars'></div>
<div class='twinkling'></div>
<div class='clouds'></div>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<style>
* {
transition: all 0.2s ease-in-out;
}
.font-mono {
font-family: 'Azeret Mono', 'Noto Color Emoji';
}
.font-thick {
font-family: 'Rubik Mono One', 'Noto Color Emoji';
}
#root {
z-index: 30;
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
}
.stars,
.twinkling,
.clouds {
position: absolute;
display: block;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
}
.stars {
z-index: 0;
background: #000 url('https://i.imgur.com/YKY28eT.png') repeat top center;
}
.twinkling {
z-index: 1;
background: transparent url('https://i.imgur.com/XYMF4ca.png') repeat top center;
animation: move-twink-back 200s linear infinite;
}
.clouds {
z-index: 2;
background: transparent url('https://i.imgur.com/mHbScrQ.png') repeat top center;
animation: move-clouds-back 200s linear infinite;
}
@keyframes move-twink-back {
from {
background-position: 0 0;
}
to {
background-position: -10000px 5000px;
}
}
@keyframes move-clouds-back {
from {
background-position: 0 0;
}
to {
background-position: 10000px 0;
}
}
</style>
</body>
</html>