-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (72 loc) · 1.49 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
html {
width: 100vw;
}
body {
width: 100%;
height: 100%;
max-width: 100%;
min-height: 100%;
}
svg {
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
}
.clock-face {
fill: var(--bs-content-bg);
stroke: var(--bs-content-color);
stroke-width: 4.5;
}
.clock-hand {
stroke-linecap: round;
transform-origin: 150px 150px;
transition: transform 0.1s linear;
}
#hour-hand {
stroke: var(--bs-info);
stroke-width: 7.5;
outline: 0.4px outset var(--bs-info);
border-radius: 7.5px;
}
#minute-hand {
stroke: var(--bs-warning);
stroke-width: 4.5;
outline: 0.2px outset var(--bs-warning);
border-radius: 4.5px;
}
#second-hand {
stroke: var(--bs-danger);
stroke-width: 1.5;
outline: 0.1px outset var(--bs-danger);
border-radius: 1.5px;
}
#center-pin {
fill: var(--bs-body-bg);
stroke: var(--bs-body-color);
stroke-width: 0.5;
outline: 0.5px outset var(--bs-body-color);
border-radius: 50%;
}
.hour-marker {
stroke-linecap: round;
stroke: var(--bs-body-color);
stroke-width: 4;
outline: 39px dashed var(--bs-body-bg);
outline-offset: -4.5px;
border-radius: 50%;
}
.minute-marker {
stroke-linecap: round;
stroke: var(--bs-primary);
stroke-width: 2;
outline: 7px double var(--bs-primary);
outline-offset: 241px;
border-radius: 50%;
}
.clock-text {
font-size: 22px;
font-weight: bold;
text-anchor: middle;
fill: var(--bs-body-color);
}