nightTab/css/date.css

59 lines
1.1 KiB
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);
2019-04-01 17:11:39 +02:00
color: rgb(var(--style-neutral-text));
2019-01-05 21:57:21 +01:00
width: 100%;
min-height: 2.5em;
display: flex;
flex-direction: row;
2019-03-26 00:31:51 +01:00
justify-content: flex-start;
2019-01-05 21:57:21 +01:00
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;
2019-03-26 00:31:51 +01:00
justify-content: flex-start;
2019-01-05 21:57:21 +01:00
align-items: center;
}
2019-01-05 23:35:50 +01:00
.date-separator {
justify-content: center;
2019-01-05 21:57:21 +01:00
min-width: 0.5em;
color: rgb(var(--accent));
}
.date-date,
.date-day,
.date-month,
.date-year {
justify-content: center;
2019-01-05 21:57:21 +01:00
}
.date [class^="date-"]:not(:first-child):not([class^="date-separator"]),
.date [class*=" date-"]:not(:first-child):not([class*=" date-separator"]) {
margin-left: 0.2em;
2019-01-05 21:57:21 +01:00
}
.date [class^="date-"]:not(:last-child):not([class^="date-separator"]),
.date [class*=" date-"]:not(:last-child):not([class*=" date-separator"]) {
margin-right: 0.2em;
2019-01-05 21:57:21 +01:00
}
.date-day {
2019-04-01 17:11:39 +02:00
color: rgb(var(--style-neutral-text));
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
}