-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
146 lines (129 loc) · 4.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh">
<title>Redirecting...</title>
<link rel="icon" href="https://img.icons8.com/?size=100&id=QWmWrCxghblr&format=png&color=000000" type="image/x-icon">
<meta http-equiv="refresh" content="0; url=web/links.html">
<!-- style -->
<style>
body {
background-color: black;
color: white;
text-align: center;
font-family: Arial, sans-serif;
}
.loader {
--path: #2f3545;
--dot: #5628ee;
--duration: 3s;
width: 44px;
height: 44px;
position: relative;
display: inline-block;
margin: 0 16px;
}
.loader:before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
position: absolute;
display: block;
background: var(--dot);
top: 37px;
left: 19px;
transform: translate(-18px, -18px);
animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.loader svg {
display: block;
width: 100%;
height: 100%;
}
.loader svg rect,
.loader svg polygon,
.loader svg circle {
fill: none;
stroke: var(--path);
stroke-width: 10px;
stroke-linejoin: round;
stroke-linecap: round;
}
.loader svg polygon {
stroke-dasharray: 145 76 145 76;
stroke-dashoffset: 0;
animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.loader svg rect {
stroke-dasharray: 192 64 192 64;
stroke-dashoffset: 0;
animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.loader svg circle {
stroke-dasharray: 150 50 150 50;
stroke-dashoffset: 75;
animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.loader.triangle {
width: 48px;
}
.loader.triangle:before {
left: 21px;
transform: translate(-10px, -18px);
animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
@keyframes pathTriangle {
33% { stroke-dashoffset: 74; }
66% { stroke-dashoffset: 147; }
100% { stroke-dashoffset: 221; }
}
@keyframes dotTriangle {
33% { transform: translate(0, 0); }
66% { transform: translate(10px, -18px); }
100% { transform: translate(-10px, -18px); }
}
@keyframes pathRect {
25% { stroke-dashoffset: 64; }
50% { stroke-dashoffset: 128; }
75% { stroke-dashoffset: 192; }
100% { stroke-dashoffset: 256; }
}
@keyframes dotRect {
25% { transform: translate(0, 0); }
50% { transform: translate(18px, -18px); }
75% { transform: translate(0, -36px); }
100% { transform: translate(-18px, -18px); }
}
@keyframes pathCircle {
25% { stroke-dashoffset: 125; }
50% { stroke-dashoffset: 175; }
75% { stroke-dashoffset: 225; }
100% { stroke-dashoffset: 275; }
}
a {
color: cyan;
}
</style>
</head>
<body>
<div class="loader">
<svg viewBox="0 0 80 80">
<circle r="32" cy="40" cx="40"></circle>
</svg>
</div>
<div class="loader triangle">
<svg viewBox="0 0 86 80">
<polygon points="43 8 79 72 7 72"></polygon>
</svg>
</div>
<div class="loader">
<svg viewBox="0 0 80 80">
<rect height="64" width="64" y="8" x="8"></rect>
</svg>
</div>
<p>If you are not redirected automatically, <a href="web/links.html">click here</a>.</p>
</body>
</html>