From 719b918dae5d0dabeb602951aa87c4c086925293 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sun, 22 Oct 2023 21:04:25 -0400 Subject: [PATCH] fix justification --- sass/elements/text.scss | 1 + sass/styles.scss | 4 ++-- templates/base.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sass/elements/text.scss b/sass/elements/text.scss index ec78431..90d1eab 100644 --- a/sass/elements/text.scss +++ b/sass/elements/text.scss @@ -1,6 +1,7 @@ p { margin-top: 0; margin-bottom: 16px; + text-align: justify; } sub, diff --git a/sass/styles.scss b/sass/styles.scss index 95af146..8e9fd3b 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -5,9 +5,8 @@ $content-max-width: 800px; @import "elements/header.scss"; body { - margin: 0; + margin: 1em; font-family: serif; - text-align: justify; } a { @@ -66,6 +65,7 @@ main { padding-bottom: 0; } + @import "elements/code.scss"; @import "elements/headings.scss"; @import "elements/list.scss"; diff --git a/templates/base.html b/templates/base.html index bc2b4ec..2169838 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,6 +22,7 @@ {{title}} | {{config.title}} + {% if current_url %}{% endif %}