forked from nukeop/nuclear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (85 loc) · 2.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Nuclear Music Player</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.css"></link>
<style type="text/css">
body {
background: #282a36;
}
.loader-container {
position: absolute;
width: 100%;
height: 100%;
background: transparent;
display: flex;
justify-content: center;
align-items: center;
z-index: -1;
}
.nuclear-loader {
position: relative;
display: flex;
flex-flow: column;
background: linear-gradient(45deg, #43CBFF 0%, #9708CC 100%);
background-size: 200% 200%;
width: 15rem;
height: 15rem;
border-radius: 2rem;
box-shadow: 0 0 38px rgba(0,0,0,0.30), 0 0 12px rgba(0,0,0,0.22);
animation: gradient-anim 2s ease-in-out infinite;
}
@keyframes gradient-anim {
0%, 100% {
background-position: 50% 50%;
}
25% {
background-position: 0% 100%;
}
75% {
background-position: 100% 0%;
}
}
.nuclear-loader>span {
position: absolute;
width: 0;
height: 0;
border-top: 4rem solid #FAFAFA;
border-left: 3rem solid transparent;
border-right: 3rem solid transparent;
}
.nuclear-loader>span:nth-child(1) {
right: 4.5rem;
top: 3.5rem;
}
.nuclear-loader>span:nth-child(2) {
right: 7.5rem;
bottom: 3.5rem;
}
.nuclear-loader>span:nth-child(3) {
left: 7.5rem;
bottom: 3.5rem;
}
@keyframes loader-anim {
0%, 100% {
border-top: 4rem solid #FAFAFA;
}
50% {
border-top: 4rem solid transparent;
}
}
</style>
</head>
<body>
<div id="react_root"></div>
<div class="loader-container">
<div class="nuclear-loader">
<span></span>
<span></span>
<span></span>
</div>
</div>
</body>
</html>