From 183476a9f39126360d134ad6f1a1fba3e8b5fde1 Mon Sep 17 00:00:00 2001 From: yequari Date: Fri, 20 Oct 2023 17:06:37 -0700 Subject: [PATCH] "add top and bottom margin to page content" --- themes/saturn/static/css/main.css | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/themes/saturn/static/css/main.css b/themes/saturn/static/css/main.css index f2a6103..542d44b 100644 --- a/themes/saturn/static/css/main.css +++ b/themes/saturn/static/css/main.css @@ -62,7 +62,7 @@ body { background-color: var(--main-bg); color: var(--primary-text); - font-size: 16px; + font-size: 12pt; font-family: 'Krub', sans-serif; scrollbar-width: none; padding: 0; @@ -234,7 +234,7 @@ nav li a:hover, nav li a:active { main { flex: 8 1; background-color: var(--content-bg); - padding: 0 150px; + padding: 30px 50px 100px 150px; z-index: 1; } @@ -252,9 +252,26 @@ main li { } +article { + max-width: 750px; +} + article p { text-indent: 1rem; text-align: justify; + font-size: 1.1rem; +} + +article img { + display: block; + max-width: 400px; + margin: 8px auto; + text-align: center; +} + +article figcaption { + text-align: center; + font-size: 14px; } section.posts ul {