abkommen60jahre.de/events.css

112 lines
1.8 KiB
CSS
Raw Normal View History

2021-09-24 20:20:24 +00:00
.event-day {
border-top: 7px solid var(--border);
width: calc(100vw - 2*var(--side-padding));
position: relative;
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;
cursor: pointer;
2021-09-24 20:20:24 +00:00
}
.event {
border-top: 3px solid var(--border);
margin-left: 20px;
padding-bottom: 32px;
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
}
2021-10-05 14:50:10 +00:00
@media print {
.event {
display: block !important;
overflow: hidden;
}
}
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;
2021-10-05 14:33:55 +00:00
}
2021-10-05 14:33:55 +00:00
.event-description > *:first-child {
2021-09-24 20:20:24 +00:00
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
.event-description > *:last-child {
margin-bottom: 0;
}
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 {
2021-10-05 14:33:55 +00:00
font-size: 1rem;
line-height: 1.4rem;
2021-09-24 20:20:24 +00:00
}