nightTab/css/date.css

75 lines
1.4 KiB
CSS
Executable File

.date {
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: flex-start;
flex-wrap: wrap;
}
.is-header-items-alignment-horizontal-left .date {
justify-content: flex-start;
}
.is-header-items-alignment-horizontal-center .date {
justify-content: center;
}
.is-header-items-alignment-horizontal-right .date {
justify-content: flex-end;
}
.date-separator,
.date-date,
.date-day,
.date-month,
.date-year {
font-size: 1.5em;
display: flex;
justify-content: flex-start;
align-items: center;
white-space: nowrap;
}
.date-separator {
justify-content: center;
color: rgb(var(--accent));
}
.date-date,
.date-day,
.date-month,
.date-year {
justify-content: center;
}
.is-header-items-alignment-horizontal-left .date-item:not(:last-child) {
margin-right: 0.2em;
}
.is-header-items-alignment-horizontal-center .date-item:not(:first-child),
.is-header-items-alignment-horizontal-center .date-item:not(:last-child) {
margin-left: 0.1em;
margin-right: 0.1em;
}
.is-header-items-alignment-horizontal-right .date-item:not(:first-child) {
margin-left: 0.2em;
}
.date-day {
color: rgb(var(--style-neutral-text));
}
.date-date,
.date-month,
.date-year {
color: rgb(var(--gray-16));
}