From d61c3dc66d0cbf2c0901e34526a29da4a3204189 Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 15 Apr 2024 04:04:21 +0200 Subject: [PATCH] css paddings and margins improved --- src/static/css/style.css | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/static/css/style.css b/src/static/css/style.css index 59eea4c..cd480f5 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -159,12 +159,27 @@ footer .center { .entry { border-radius: 0 10px 30px 0; margin-bottom: 20px; - padding: 10px; + padding-left: 20px; } .entry h1, .entry h2 { - margin: 5px auto 2px auto; + padding-top: 20px; + padding-bottom: 20px; +} + +.blog h1:first-child { + padding-bottom: 20px; +} + +.blogarchive h2 { + padding-top: 20px; + padding-bottom: 20px; +} + +.entry h2:first-child { + padding-top: 0; + padding-bottom: 0; } .entry ul { @@ -172,7 +187,8 @@ footer .center { } figure { - padding:20px; + padding-top: 20px; + padding-bottom: 20px; } .entry figure:last-child {