mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-24 00:53:53 +01:00
64 lines
1011 B
CSS
64 lines
1011 B
CSS
.clock {
|
|
margin: 0;
|
|
padding: 0;
|
|
border-radius: var(--radius);
|
|
font-size: 1em;
|
|
font-family: var(--font-fjalla);
|
|
color: var(--white);
|
|
width: 100%;
|
|
min-height: 2.5em;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.clock-separator,
|
|
.clock-hours,
|
|
.clock-minutes,
|
|
.clock-seconds,
|
|
.clock-meridiem {
|
|
font-size: 1.5em;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.clock-separator {
|
|
min-width: 0.5em;
|
|
color: rgb(var(--accent));
|
|
}
|
|
|
|
.clock-hours,
|
|
.clock-minutes,
|
|
.clock-seconds,
|
|
.clock-meridiem {
|
|
min-width: 1.25em;
|
|
}
|
|
|
|
.clock [class^="clock-"]:not(:first-child),
|
|
.clock [class*=" clock-"]:not(:first-child) {
|
|
margin-left: 0.125em;
|
|
}
|
|
|
|
.clock [class^="clock-"]:not(:last-child),
|
|
.clock [class*=" clock-"]:not(:last-child) {
|
|
margin-right: 0.125em;
|
|
}
|
|
|
|
.clock-hours {
|
|
color: var(--white);
|
|
}
|
|
|
|
.clock-minutes {
|
|
color: var(--gray-16);
|
|
}
|
|
|
|
.clock-seconds {
|
|
color: var(--gray-12);
|
|
}
|
|
|
|
.clock-meridiem {
|
|
color: var(--gray-10);
|
|
}
|