-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
73 lines (64 loc) · 1.57 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
.RadialProgress {
--hue: 220;
--holesize: 65%;
--track-bg: hsl(233, 34%, 92%);
height: 50vmin;
width: 50vmin;
min-width: 100px;
min-height: 100px;
display: grid;
align-items: center;
justify-items: center;
place-items: center;
position: relative;
font-weight: 700;
font-size: max(10vmin, 1.4rem)
}
.RadialProgress::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
z-index: -1;
background: conic-gradient(hsl(var(--hue) 100% 70%),
hsl(var(--hue) 100% 40%),
hsl(var(--hue) 100% 70%) var(--progress, 0%),
var(--track-bg) var(--progress, 0%) 100%);
-webkit-mask-image: radial-gradient(transparent var(--holesize),
black calc(var(--holesize) + 0.5px));
mask-image: radial-gradient(transparent var(--holesize),
black calc(var(--holesize) + 0.5px));
}
html {
height: 100%;
width: 100%;
background: #f8fcff;
}
body {
min-height: 100%;
min-width: 100%;
box-sizing: border-box;
display: grid;
align-content: center;
justify-content: center;
place-content: center;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
}
span {
white-space: nowrap;
position: fixed;
bottom: 16px;
right: 16px;
font-size: 0.8rem;
display: flex;
align-items: center
}
span img {
margin: 0 0 0 4px;
}
input {
margin: 50px 0;
}