Fix post margins across screen sizes

This commit is contained in:
n07070 2022-07-18 01:38:39 +02:00
parent 7ee6ce2488
commit db951130bc

View File

@ -131,14 +131,14 @@ p {
.post { .post {
margin: 0 0 1em 0; margin: 3vw 1.8vw 3vw 1.8vw;
line-height: 1.9; line-height: 1.9;
} }
.post-header { .post-header {
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
} }
.post-title { .post-title {
font-size: 1.8em; font-size: 2em;
font-weight: 500; font-weight: 500;
line-height: 1.2; line-height: 1.2;
margin: 0 0 0.4em 0; margin: 0 0 0.4em 0;
@ -241,6 +241,7 @@ p {
.bc-next { .bc-next {
margin-top: 0; margin-top: 0;
} }
.card-img-container { .card-img-container {
position: relative; position: relative;
@ -254,7 +255,6 @@ p {
object-fit: cover; object-fit: cover;
} }
.card-img-overlay { .card-img-overlay {
/* border-radius: 0.8rem 0.8rem 0 0; */
position: absolute; position: absolute;
top: 0; top: 0;
font-size: 1.27em; font-size: 1.27em;
@ -556,9 +556,6 @@ footer h3 {
margin-bottom: 0.7em; margin-bottom: 0.7em;
} }
.post {
margin: 1em 1.8em 2em 1.8em;
}
.post-title { .post-title {
font-size: 2em; font-size: 2em;
} }