forked from HughTB/radio-clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (69 loc) · 1.01 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
:root {
--mainColour: #912191;
--secondaryColour: #009FE3;
}
body {
background: #121212;
color: white;
font-family: 'Segoe UI', sans-serif;
}
.logo {
width: 32%;
margin: 2em 34% 5em;
}
.clockContainer {
width: 100%;
height: 20em;
}
#majorMarkings {
stroke: var(--mainColour);
stroke-width: 4;
}
#minorMarkings {
stroke: white;
stroke-width: 2;
}
.hand {
transform: rotate(0deg);
transform-origin: 50% 50%;
}
#hourHand {
stroke: white;
stroke-width: 4;
}
#minuteHand {
stroke: white;
stroke-width: 2;
}
#secondHand {
stroke: var(--secondaryColour);
stroke-width: 2;
}
.textTimes {
text-align: center;
margin: 2em;
}
.textTimes p {
margin: 0px;
}
#digiClock {
font-size: 300%;
margin-bottom: 0.3em;
}
#wordTime {
font-size: 300%;
margin-bottom: 0.3em;
}
#wordDate {
font-size: 200%;
}
.footer {
position: fixed;
right: 0;
bottom: 0;
text-align: right;
font-family: 'Segoe UI', sans-serif;
font-size: 70%;
padding-right: 0.5em;
line-height: 0.75em;
}