From 039b9455892016a25c0ea2112a57632e54dba6cc Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 15 Apr 2024 03:27:10 +0200 Subject: [PATCH] improved padding for figures --- src/content.py | 1 - src/static/css/style.css | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/content.py b/src/content.py index e39410f..99f3a77 100644 --- a/src/content.py +++ b/src/content.py @@ -87,7 +87,6 @@ def gen_index_string(): if file.endswith(".html"): for line in text: content_string += line - content_string += "
" if file.endswith(".md"): content_string += gen_md_content(file, 2) content_string += "" diff --git a/src/static/css/style.css b/src/static/css/style.css index 23140ab..59eea4c 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -175,6 +175,10 @@ figure { padding:20px; } +.entry figure:last-child { + padding-bottom:0 +} + ul { padding-left:20px; }