-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
73 lines (66 loc) · 1.14 KB
/
css.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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
#clock::before{
content: '';
position: absolute;
height: 8px;
width: 8px;
border: solid 2px lightcyan;
border-radius: 50%;
position: absolute;
}
#clock span{
text-align: center;
inset: 20px;
transform: rotate(calc(30deg * var(--i)));
position: absolute;
color: lightcyan;
}
#clock span b{
font-weight: bold;
font-family: monospace;
font-size: 20px;
display: inline-block;
transform: rotate(calc(-30deg * var(--i)));
}
.circle i{
position: absolute;
height: 50%;
width: 6px;
background-color: var(--clr);
opacity: .6;
transform: scaleY(.5);
transform-origin: bottom;
}
.circle:nth-child(1)i{
width: 3px;
z-index: 10;
}
.circle:nth-child(2)i{
width: 5px;
z-index: 7;
}
.circle:nth-child(3)i{
width: 8px;
z-index: 2;
}
.circle::before{
content: '';
background-color: var(--clr);
border-radius: 50%;
position: absolute;
height: 15px;
width: 15px;
top: -10px;
}
h3{
font-family: monospace;
color: white;
}
.horloge{
font-size: 20px;
font-family: monospace;
}