-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
76 lines (65 loc) · 1.14 KB
/
style.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
html,
body {
margin: 0;
padding: 0;
color-scheme: light;
width: 100%;
height: 100%;
font-family: "Segoe UI Variable", "Segoe UI", "Noto Sans", sans-serif;
font-size: 17px;
}
.loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 200px;
}
.bottom {
padding: 20px;
text-align: center;
}
.spinner {
animation: rotator 1.4s linear infinite;
position: relative;
left: calc(50% - 32.5px);
}
@keyframes rotator {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(270deg);
}
}
.path {
stroke-dasharray: 187;
stroke-dashoffset: 0;
transform-origin: center;
animation: dash 1.4s ease-in-out infinite;
stroke: #000;
}
@keyframes dash {
0% {
stroke-dashoffset: 187;
}
50% {
stroke-dashoffset: 46.75;
transform: rotate(135deg);
}
100% {
stroke-dashoffset: 187;
transform: rotate(450deg);
}
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
.path {
stroke: #fff;
}
}
input {
display: none;
}