nightTab/css/date.css

58 lines
912 B
CSS
Raw Normal View History

2019-01-05 21:57:21 +01:00
.date {
margin: 0;
padding: 0;
border-radius: var(--radius);
font-size: 1em;
font-family: var(--font-fjalla);
color: rgb(var(--white));
2019-01-05 21:57:21 +01:00
width: 100%;
min-height: 2.5em;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: nowrap;
}
2019-01-05 23:35:50 +01:00
.date-separator,
2019-01-05 21:57:21 +01:00
.date-date,
.date-day,
.date-month,
.date-year {
font-size: 1.5em;
display: flex;
justify-content: center;
align-items: center;
}
2019-01-05 23:35:50 +01:00
.date-separator {
2019-01-05 21:57:21 +01:00
min-width: 0.5em;
color: rgb(var(--accent));
}
.date-date,
.date-day,
.date-month,
.date-year {
min-width: 1.25em;
}
.date [class^="date-"]:not(:first-child),
.date [class*=" date-"]:not(:first-child) {
margin-left: 0.125em;
}
.date [class^="date-"]:not(:last-child),
.date [class*=" date-"]:not(:last-child) {
margin-right: 0.125em;
}
.date-day {
color: rgb(var(--white));
2019-01-05 21:57:21 +01:00
}
.date-date,
.date-month,
2019-01-05 21:57:21 +01:00
.date-year {
color: rgb(var(--gray-19));
2019-01-05 21:57:21 +01:00
}