From cc982e0b5608b657c8fc8b37b786c7300d22852c Mon Sep 17 00:00:00 2001 From: Alex Scerba Date: Mon, 23 Sep 2024 13:54:24 -0400 Subject: Shrink font size and give better hierarchy --- static/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index 5f27970..309609b 100644 --- a/static/style.css +++ b/static/style.css @@ -79,7 +79,7 @@ main { } article, #intro, .main-bg { - padding: 1rem 1.75rem; + padding: 2.5rem 3rem; background-color: white; box-shadow: 0 0 1em 0.4em rgb(224, 224, 224); } @@ -88,7 +88,7 @@ article, #intro { margin-top: 1.75rem; } -article h2 { +article h2, .article-h2 { margin-top: 0; } @@ -158,9 +158,10 @@ main:has(#intro) { } h1 { - font-size: 2.75rem; - color: rgb(190, 190, 190); + font-size: 1.5rem; + /*color: rgb(190, 190, 190);*/ margin: 0; + border-bottom: 1px solid black; } .subtext { @@ -193,7 +194,12 @@ h3, h4, h5, h6 { } p { - line-height: 1.25; + font-size: .9rem; + line-height: 2; +} + +p:not(:last-child) { + margin-bottom: 2rem; } pre { -- cgit v1.2.3