This commit is contained in:
j 2021-11-20 13:08:48 +01:00
parent 62b9e18ffd
commit c89f9cbadd

View file

@ -5,6 +5,8 @@
max-width: 800px; max-width: 800px;
margin: auto; margin: auto;
} }
p { p {
} }
@ -22,8 +24,12 @@ p {
} }
.event .side-by-side { .event .side-by-side {
display: flex; display: flex;
flex-direction: row;
} }
.event:nth-child(2n) .side-by-side {
flex-direction: row-reverse;
}
.media, .text { .media, .text {
width: 50%; width: 50%;
padding: 8px; padding: 8px;
@ -37,3 +43,14 @@ p {
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;
} }
@media screen and (max-width: 799px) {
.media, .text {
width: 100%;
}
.event .side-by-side {
flex-direction: column;
}
.event:nth-child(2n) .side-by-side {
flex-direction: column-reverse;
}
}