mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-12-04 05:54:32 +01:00
60 lines
1.1 KiB
CSS
Executable File
60 lines
1.1 KiB
CSS
Executable File
.clock {
|
|
margin: 0;
|
|
padding: 0;
|
|
border-radius: var(--radius);
|
|
font-size: 1em;
|
|
font-family: var(--font-fjalla);
|
|
color: rgb(var(--style-neutral-text));
|
|
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 {
|
|
justify-content: center;
|
|
min-width: 0.5em;
|
|
color: rgb(var(--accent));
|
|
}
|
|
|
|
.clock-hours,
|
|
.clock-minutes,
|
|
.clock-seconds,
|
|
.clock-meridiem {
|
|
justify-content: center;
|
|
min-width: 1.25em;
|
|
}
|
|
|
|
.clock [class^="clock-"]:not(:first-child):not([class^="clock-separator"]),
|
|
.clock [class*=" clock-"]:not(:first-child):not([class*=" clock-separator"]) {
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
.clock [class^="clock-"]:not(:last-child):not([class^="clock-separator"]),
|
|
.clock [class*=" clock-"]:not(:last-child):not([class*=" clock-separator"]) {
|
|
margin-right: 0.2em;
|
|
}
|
|
|
|
.clock-hours {
|
|
color: rgb(var(--style-neutral-text));
|
|
}
|
|
|
|
.clock-minutes,
|
|
.clock-seconds,
|
|
.clock-meridiem {
|
|
color: rgb(var(--gray-19));
|
|
}
|