-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (68 loc) · 1.41 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
*, *::after, *::before {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--main: #fffdfa;
--highlight: #067380;
--secondary: #f25f4c;
--stroke: #1f1235;
}
body {
background-color: var(--main);
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue';
font-size: 2rem;
}
.container {
height:100vh;
display: flex;
justify-content: center;
align-items: center;
}
.ring--seconds {
fill: var(--highlight);
fill-opacity: .1;
stroke: var(--stroke);
stroke-width: 5;
stroke-dasharray:.1 .9; stroke-dashoffset: .05;
}
.ring--hours {
fill: transparent;
stroke: var(--stroke);
stroke-width: 10;
stroke-dasharray:.05 .95; stroke-dashoffset: .025;
}
.ring--center {
fill: var(--stroke);
stroke: var(--stroke);
stroke-width: 2.5;
}
.hour-number {
text-anchor:middle;
/* font: 10px BlinkMacSystemFont; */
font: 10px 'Helvetica Neue';
}
.hand {
stroke-linecap: round;
stroke: var(--stroke);
}
.hand--hour {
stroke-width: 5;
stroke: var(--secondary)
}
.hand--minute {
stroke-width: 5;
}
.prayertime {
marker-start:url(#prayerMarker);
marker-end:url(#prayerMarker);
stroke: var(--highlight);
fill:none;
opacity: .2;
}
.prayer--labels {
stroke-width: .5;
fill:var(--highlight);
text-anchor:middle;
}