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;
margin: auto;
}
p {
}
@ -22,8 +24,12 @@ p {
}
.event .side-by-side {
display: flex;
flex-direction: row;
}
.event:nth-child(2n) .side-by-side {
flex-direction: row-reverse;
}
.media, .text {
width: 50%;
padding: 8px;
@ -37,3 +43,14 @@ p {
height: 100%;
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;
}
}