-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (115 loc) · 2.17 KB
/
style.css
File metadata and controls
126 lines (115 loc) · 2.17 KB
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
*{
margin: 0;
padding: 0;
box-sizing: 0;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background: #202020 ;
}
#time{
position: relative;
width: 250px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
}
#time .circle{
position: absolute;
display: flex;
justify-content: center;
align-items: center;
}
#time .circle svg{
position: relative;
transform: rotate(270deg);
}
#time .circle:nth-child(1) svg{
width: 250px;
height: 250px;
}
#time .circle:nth-child(2) svg{
width: 210px;
height: 210px;
}
#time .circle:nth-child(3) svg{
width: 170px;
height: 170px;
}
#time .circle svg circle{
width: 100%;
height: 100%;
fill: transparent;
stroke: var(--clr);
stroke-width: 5;
transform: translate(5px, 5px);
opacity: 0.25;
}
#time .circle:nth-child(1) svg circle{
stroke-dasharray: 760;
stroke-dashoffset: 760;
}
#time .circle:nth-child(2) svg circle{
stroke-dasharray: 630;
stroke-dashoffset: 630;
}
#time .circle:nth-child(3) svg circle{
stroke-dasharray: 510;
stroke-dashoffset: 510;
}
.dots{
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-start;
z-index: 10;
}
.dots::before{
content: '';
position: absolute;
top: -3;
width: 15px;
height: 15px;
background-color: var(--clr);
border-radius: 50%;
box-shadow: 0 0 20px var(--clr),
0 0 40px var(--clr),
0 0 60px var(--clr),
0 0 80px var(--clr);
}
.timebx{
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
color: #fff;
font: consolas;
gap: 15px;
font-size: 1.5em;
font-weight: bold;
}
.timebx #hours::after,
.timebx #minutes::after{
content: ':';
position: absolute;
}
.timebx div{
color: var(--c);
text-shadow: 0 0 10px var(--c),
0 0 20px var(--c);
}
.ap{
position: absolute;
transform: translateY(-15px);
font-size: 0.5em;
right: 56px;
}