diff options
author | Gyorgy Orban <o.gyorgy@gmail.com> | 2020-01-12 00:45:10 +0300 |
---|---|---|
committer | Gyorgy Orban <o.gyorgy@gmail.com> | 2020-01-12 02:26:43 +0300 |
commit | de2ea41b2af104ddfb355da71121cd68fdc408f5 (patch) | |
tree | 2d3d1d81bbb90ab284bbb7be889e5b5272412331 | |
parent | ac2fa436b635d58f368dd664b824e90c4fe7b9c7 (diff) |
make the layout less dense mainly for the list of posts
-rw-r--r-- | static/css/layout.css | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/static/css/layout.css b/static/css/layout.css index 93c08a0..1789a0a 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -146,14 +146,18 @@ th, td { text-align: center; } +.post .content{ + padding-left : 1em; + padding-right : 1em; +} + .post .date { text-align: center; } .post { margin-top : 1.5em; - padding-left : 0.5em; - padding-right : 0.5em; + margin-bottom : 1.5em; } .post .content h1{ @@ -367,6 +371,8 @@ th, td { -webkit-justify-content: center; display: flex; justify-content: space-between; + margin-top: 0.5em; + margin-bottom: 0.5em; } .post-list .title { @@ -411,6 +417,7 @@ th, td { padding-bottom: 1em; padding-left: 0.5em; padding-right: 0.5em; + padding-top: 0.5em; margin-top: 1.5em; margin-bottom: 1.5em; } @@ -425,8 +432,9 @@ th, td { } .post-preview .summary { - margin-top: 1em; - margin-bottom: 0.5em; + padding-left: 0.5em; + padding-right: 0.5em; + padding-top: 0.5em; line-height: 1.5em; } |