mobile
This commit is contained in:
parent
62b9e18ffd
commit
c89f9cbadd
1 changed files with 18 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue