From b8b06fcd8304d6e88bd7164a336fec72f1c2bdde Mon Sep 17 00:00:00 2001 From: Avijit Gupta Date: Wed, 1 Sep 2021 04:02:25 +0200 Subject: [PATCH] Visual changes to prettify post page (#67) --- static/css/main.css | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 0d92a55..7aa4888 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -22,19 +22,20 @@ html { background-color: rgb(var(--light-primary-color)); color: var(--light-text-color); font-family: "Lato", sans-serif; - font-size: 16.5px; + font-size: 17.5px; min-height: 100%; position: relative; } -b, strong { - font-weight: bold; -} - body { margin-bottom: 170px; } +b, +strong { + font-weight: bold; +} + a { color: inherit; } @@ -175,7 +176,7 @@ a:hover .feather-sun { .footer span { display: block; - font-size: 0.9rem; + font-size: 0.85em; font-weight: 300; padding: 1px 0; } @@ -345,6 +346,21 @@ table td { margin-top: 50px; letter-spacing: 0.5px; } +.post-content h1 { + margin-top: 40px; +} +.post-content h2 { + margin-top: 35px; +} +.post-content h3 { + margin-top: 30px; +} +.post-content h4 { + margin-top: 25px; +} +.post-content h5 { + margin-top: 20px; +} /* LIST */ .list-posts .list-title {