Make writeup list have two columns

This commit is contained in:
2021-09-22 17:37:30 +02:00
parent 7bf60bc3b9
commit 5b63b29d5d
3 changed files with 113 additions and 1 deletions
+30
View File
@@ -36,6 +36,36 @@
margin: 0;
padding: 0;
list-style: none;
&-columns {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
@media #{$media-size-medium} {
justify-content: center;
}
.post {
width: 430px;
min-width: 45%;
margin: 0px;
@media #{$media-size-medium} {
width: 90%;
}
&-cover {
width: 115%;
margin: 40px -30px;
img {
max-height: 20rem;
margin: 0 auto;
}
}
}
}
}
.post {