-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
107 lines (97 loc) · 1.99 KB
/
index.css
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
html, body {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: "proxima-nova-soft", sans-serif;
-webkit-user-select: none;
overflow: hidden;
background: #210202;
/* background-image: radial-gradient(circle, #000000 0%, #ffcccc 100%); */
}
.vertical-centered-box {
position: absolute;
width: 100%;
height: 100%;
text-align: center;
}
.vertical-centered-box:after {
content: "";
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.content {
box-sizing: border-box;
display: inline-block;
vertical-align: middle;
text-align: left;
font-size: 0;
}
.loader-circle {
position: absolute;
left: 50%;
top: 50%;
width: 120px;
height: 120px;
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
margin-left: -60px;
margin-top: -60px;
/* border: 2px solid rgba(255, 255, 255, 0.5); */
}
.loader-line-mask {
position: absolute;
left: 50%;
top: 50%;
width: 60px;
height: 120px;
margin-left: -60px;
margin-top: -60px;
overflow: hidden;
transform-origin: 60px 60px;
-webkit-mask-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
animation: rotate 1.2s infinite linear;
}
.loader-line {
width: 120px;
height: 120px;
border-radius: 50%;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes fade {
0% { opacity: 1; }
50% { opacity: 0.25; }
}
@keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@media only screen and (max-width: 600px) {
.loader-circle {
width: 60px;
height: 60px;
margin-left: -30px;
margin-top: -30px;
}
.loader-line-mask {
width: 30px;
height: 60px;
margin-left: -30px;
margin-top: -30px;
transform-origin: 30px 30px;
}
.loader-line {
width: 60px;
height: 60px;
}
svg {
width: 18px;
height: 12px;
}
}