diff options
author | Gyorgy Orban <o.gyorgy@gmail.com> | 2019-08-30 00:45:38 +0300 |
---|---|---|
committer | Gyorgy Orban <o.gyorgy@gmail.com> | 2019-08-30 01:09:59 +0300 |
commit | e01bb44ceef913b20438f31f5cae125d9e27b87d (patch) | |
tree | c08646e12dc261db3627aa8304e77d0ba9ce5d45 | |
parent | 7bab61a34a7a242b1f06586aac8735c1b273d55a (diff) |
finetune padding and margin for paragraphs
the current lates hugo v0.57.2 generates a slightly
different html code, some margin and padding refinement
was required
-rw-r--r-- | static/css/layout.css | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/static/css/layout.css b/static/css/layout.css index 1b4fdb7..5f8e906 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -40,9 +40,7 @@ li { } p { - padding-top: 0.5em; - padding-bottom: 0.5em; -} + } h1 { font-size: 2em; font-weight: normal; @@ -170,7 +168,6 @@ th, td { } .post .content p{ - margin: 0em 0em; } .post-footer-data { @@ -341,6 +338,14 @@ th, td { line-height: 1.4em; } +.post-preview .summary p { + margin-block-start: 0.5em; + margin-block-end: 0.5em; + margin-inline-start: 0.em; + margin-inline-end: 0em; + line-height: 1.4em; +} + .post-preview .meta { font-size: 0.8em; font-weight: bold; |