From e91b15284a4c3e019cf1ac7e4ec53bf4bba5f823 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 20 Sep 2020 11:54:41 +0530 Subject: css : refactor all margins * hope this does not break anything xd --- assets/css/post-entry.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'assets/css/post-entry.css') diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index 2416ef7..55e5ba4 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -6,8 +6,7 @@ flex-direction: column; justify-content: center; min-height: 320px; - margin-bottom: calc( var(--gap) * 2); - margin-top: var(--gap); + margin: var(--gap) 0 calc(var(--gap) * 2) 0; } @media screen and (max-width: 600px) { @@ -28,8 +27,7 @@ } .first-entry .entry-content { - margin-top: 14px; - margin-bottom: 14px; + margin: 14px 0; font-size: 16px; -webkit-line-clamp: 3; } @@ -61,8 +59,7 @@ } .entry-content { - margin-top: 8px; - margin-bottom: 8px; + margin: 8px 0; color: var(--secondary); font-size: 14px; line-height: 1.6; -- cgit v1.2.3