diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-20 11:54:41 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-20 16:33:50 +0530 |
| commit | e91b15284a4c3e019cf1ac7e4ec53bf4bba5f823 (patch) | |
| tree | cd04d8a5df94d40043702ec012875c9b0217078f /assets/css/post-entry.css | |
| parent | 1e5f020efbae3ebfbcd8fa0850978d7c8032b9ea (diff) | |
css : refactor all margins
* hope this does not break anything xd
Diffstat (limited to 'assets/css/post-entry.css')
| -rw-r--r-- | assets/css/post-entry.css | 9 |
1 files changed, 3 insertions, 6 deletions
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; |
