-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (113 loc) · 1.85 KB
/
style.css
File metadata and controls
127 lines (113 loc) · 1.85 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
127
body {
font-family: "Arial Narrow", Arial, sans-serif;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(to right, salmon, tomato);
}
.clock {
background: lightgray;
width: 350px;
height: 350px;
border-radius: 50%;
border: 5px solid darkgray;
position: relative;
z-index: 1;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
img {
width: 60px;
position: absolute;
top: 60px;
left: 50%;
z-index: 2;
transform: translateX(-50%);
}
.number div {
position: absolute;
font-size: 27px;
font-weight: 600;
color: lightgoldenrodyellow;
z-index: 2;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.number .dark-hours {
color: white;
font-size: 20px;
}
.twelve {
top: 6px;
left: 50%;
transform: translateX(-50%);
}
.one {
top: 30px;
left: 70%;
}
.eleven {
top: 30px;
right: 70%;
}
.two {
top: 85px;
left: 86%;
}
.ten {
top: 85px;
right: 86%;
}
.six {
bottom: 6px;
left: 50%;
transform: translateX(-50%);
}
.nine {
left: 6px;
top: 50%;
transform: translateY(-50%);
}
.three {
right: 6px;
top: 50%;
transform: translateY(-50%);
}
.arrows {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
.arrows::before {
content: "";
width: 25px;
background-color: darkgreen;
height: 25px;
border-radius: 50%;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
z-index: 4;
}
.arrows div {
width: 7px;
position: absolute;
background: orangered;
transform-origin: bottom center;
bottom: 50%;
height: 120px;
z-index: 3;
border-radius: 50% 50% 0 0;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.arrows .second {
background: black;
width: 2px;
border-radius: 0;
transform: rotate(250deg);
}
.arrows .hour {
transform: rotate(30deg);
height: 80px;
}