From db951130bc6f28aeb284d434c1ac0931d9b3c194 Mon Sep 17 00:00:00 2001 From: n07070 Date: Mon, 18 Jul 2022 01:38:39 +0200 Subject: [PATCH] Fix post margins across screen sizes --- assets/css/style.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index efe6cb1..bed4972 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -131,14 +131,14 @@ p { .post { - margin: 0 0 1em 0; + margin: 3vw 1.8vw 3vw 1.8vw; line-height: 1.9; } .post-header { margin: 0 0 1.5em 0; } .post-title { - font-size: 1.8em; + font-size: 2em; font-weight: 500; line-height: 1.2; margin: 0 0 0.4em 0; @@ -241,6 +241,7 @@ p { .bc-next { margin-top: 0; + } .card-img-container { position: relative; @@ -254,7 +255,6 @@ p { object-fit: cover; } .card-img-overlay { - /* border-radius: 0.8rem 0.8rem 0 0; */ position: absolute; top: 0; font-size: 1.27em; @@ -556,9 +556,6 @@ footer h3 { margin-bottom: 0.7em; } - .post { - margin: 1em 1.8em 2em 1.8em; - } .post-title { font-size: 2em; }