-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (89 loc) · 1.73 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
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
body {
margin: 0;
padding: 0;
background-color: palegoldenrod;
font-family: "Courier New", Courier, monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
img {
width: 70px;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 60px;
z-index: 2;
}
.clock {
position: relative;
background-color: rgb(224, 197, 128);
height: 350px;
width: 350px;
border-radius: 50%;
border: 5px solid darkgoldenrod;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
.numbers div {
position: absolute;
font-size: 30px;
font-weight: bold;
color: whitesmoke;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.twelve {
top: 6px;
left: 50%;
transform: translateX(-50%);
}
.three {
top: 50%;
right: 6px;
transform: translateY(-50%);
}
.six {
bottom: 6px;
left: 50%;
transform: translateX(-50%);
}
.nine {
left: 6px;
transform: translateY(-50%);
top: 50%;
}
.arrows {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
height: 100%;
}
.arrows::before {
content: "";
width: 25px;
height: 25px;
background-color: palegoldenrod;
border-radius: 50%;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
z-index: 4;
}
.arrows div{
background-color: aliceblue;
width: 7px;
position: absolute;
height: 120px;
transform-origin: bottom center;
bottom: 50%;
z-index: 3;
border-radius: 50% 50% 0 0;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.arrows .hour{
height: 80px;
transform: rotate(30deg);
}
.arrows .second{
background-color: rgb(212, 212, 173);
transform: rotate(250deg);
}