abkommen60jahre.de/events.css

94 lines
1.5 KiB
CSS
Raw Normal View History

2021-09-24 20:20:24 +00:00
.event-day {
border-top: 7px solid var(--border);
2021-09-26 23:37:59 +00:00
}
.event-day[open] {
padding-bottom: 4rem;
2021-09-24 20:20:24 +00:00
}
.event-day-heading {
padding: 30px 20px;
font-size: 2rem;
font-weight: bold;
}
.event {
border-top: 3px solid var(--border);
margin-left: 20px;
2021-09-26 19:23:59 +00:00
display: flex;
flex-direction: column;
}
@media screen and (min-width: 1024px) {
.event {
display: grid;
grid-template-columns: 345px 1fr;
grid-template-rows: auto auto auto auto 1fr;
}
2021-09-24 20:20:24 +00:00
}
.event-time {
grid-column-start: 1;
grid-column-end: 3;
grid-row-start: 1;
grid-row-end: 2;
}
.event-title {
grid-column-start: 1;
grid-column-end: 3;
grid-row-start: 2;
grid-row-end: 3;
margin-top: 0;
margin-bottom: 0;
}
.event-description {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 4;
grid-row-end: 6;
margin: 0;
2021-09-26 19:23:59 +00:00
margin-bottom: 2rem;
2021-09-24 20:20:24 +00:00
}
2021-09-26 19:23:59 +00:00
@media screen and (min-width: 1024px) {
.event-description {
margin-bottom: 0;
padding-left: 2rem;
}
}
2021-09-24 20:20:24 +00:00
.event-location {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 4;
grid-row-end: 5;
}
.event-people {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 5;
grid-row-end: 6;
2021-09-26 19:23:59 +00:00
margin-bottom: 2rem;
2021-09-24 20:20:24 +00:00
}
2021-09-26 19:23:59 +00:00
.event-people-list {
list-style: none;
margin: 0;
padding: 0;
}
2021-09-24 20:20:24 +00:00
.event-details {
grid-column-start: 1;
grid-column-end: 3;
grid-row-start: 3;
grid-row-end: 4;
margin-bottom: 2rem;
}
.event-location,
.event-people,
.event-details {
font-size: 0.8rem;
line-height: 1.2rem;
}