2018-12-26 08:45:53 +01:00
|
|
|
.clock {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-01-03 23:30:27 +01:00
|
|
|
border-radius: var(--radius);
|
|
|
|
font-size: 1em;
|
2018-12-26 08:45:53 +01:00
|
|
|
font-family: var(--font-fjalla);
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-03 23:30:27 +01:00
|
|
|
width: 100%;
|
|
|
|
min-height: 2.5em;
|
2018-12-26 18:43:38 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2019-01-03 23:30:27 +01:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-01-05 23:35:50 +01:00
|
|
|
.clock-separator,
|
2019-01-03 23:30:27 +01:00
|
|
|
.clock-hours,
|
|
|
|
.clock-minutes,
|
|
|
|
.clock-seconds,
|
|
|
|
.clock-meridiem {
|
|
|
|
font-size: 1.5em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-05 23:35:50 +01:00
|
|
|
.clock-separator {
|
2019-04-01 17:15:57 +02:00
|
|
|
justify-content: center;
|
2019-01-03 23:30:27 +01:00
|
|
|
min-width: 0.5em;
|
2018-12-26 08:45:53 +01:00
|
|
|
color: rgb(var(--accent));
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.clock-hours,
|
2018-12-26 18:43:38 +01:00
|
|
|
.clock-minutes,
|
2019-01-03 23:30:27 +01:00
|
|
|
.clock-seconds,
|
|
|
|
.clock-meridiem {
|
2019-04-01 17:15:57 +02:00
|
|
|
justify-content: center;
|
2019-01-03 23:30:27 +01:00
|
|
|
min-width: 1.25em;
|
|
|
|
}
|
|
|
|
|
2019-04-01 17:15:57 +02:00
|
|
|
.clock [class^="clock-"]:not(:first-child):not([class^="clock-separator"]),
|
|
|
|
.clock [class*=" clock-"]:not(:first-child):not([class*=" clock-separator"]) {
|
|
|
|
margin-left: 0.2em;
|
2018-12-26 18:43:38 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 17:15:57 +02:00
|
|
|
.clock [class^="clock-"]:not(:last-child):not([class^="clock-separator"]),
|
|
|
|
.clock [class*=" clock-"]:not(:last-child):not([class*=" clock-separator"]) {
|
|
|
|
margin-right: 0.2em;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.clock-hours {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-01-24 21:28:11 +01:00
|
|
|
.clock-minutes,
|
|
|
|
.clock-seconds,
|
2019-01-03 23:30:27 +01:00
|
|
|
.clock-meridiem {
|
2019-01-24 21:28:11 +01:00
|
|
|
color: rgb(var(--gray-19));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|