nightTab/css/clock.css

76 lines
1.4 KiB
CSS
Raw Normal View History

2018-12-26 08:45:53 +01:00
.clock {
margin: 0;
padding: 0;
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));
width: 100%;
min-height: 2.5em;
2018-12-26 18:43:38 +01:00
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-wrap: wrap;
}
.is-header-items-alignment-horizontal-left .clock {
justify-content: flex-start;
}
.is-header-items-alignment-horizontal-center .clock {
justify-content: center;
}
.is-header-items-alignment-horizontal-right .clock {
justify-content: flex-end;
}
2019-01-05 23:35:50 +01:00
.clock-separator,
.clock-hours,
.clock-minutes,
.clock-seconds,
.clock-meridiem {
font-size: 1.5em;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
2018-12-26 08:45:53 +01:00
}
2019-01-05 23:35:50 +01:00
.clock-separator {
justify-content: center;
2018-12-26 08:45:53 +01:00
color: rgb(var(--accent));
}
.clock-hours,
2018-12-26 18:43:38 +01:00
.clock-minutes,
.clock-seconds,
.clock-meridiem {
justify-content: center;
min-width: 1.25em;
}
.is-header-items-alignment-horizontal-left .clock-item:not(:last-child) {
margin-right: 0.2em;
2018-12-26 18:43:38 +01:00
}
.is-header-items-alignment-horizontal-center .clock-item:not(:first-child),
.is-header-items-alignment-horizontal-center .clock-item:not(:last-child) {
margin-left: 0.1em;
margin-right: 0.1em;
}
.is-header-items-alignment-horizontal-right .clock-item:not(:first-child) {
margin-left: 0.2em;
}
.clock-hours {
2019-04-01 17:11:39 +02:00
color: rgb(var(--style-neutral-text));
2018-12-26 08:45:53 +01:00
}
.clock-minutes,
.clock-seconds,
.clock-meridiem {
color: rgb(var(--gray-16));
}