From 4fb5cc4323020c16e6e6766641cf1d6bbcc59fe1 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 21 Mar 2021 17:28:14 +0100 Subject: [PATCH] Constrained text width to 75ch on text pages to improve readability. --- assets/css/style.css | 4 ++++ templates/page.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/style.css b/assets/css/style.css index 4227a65..1123717 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -805,6 +805,10 @@ hr.-even { column-count: var(--column-count); } +.content__inner_box.-width_constraint { + max-width: 75ch; +} + .content.-odd { background-color: var(--wtf-light-grey); color: var(--wtf-dark-grey); diff --git a/templates/page.html b/templates/page.html index b6d1546..59bffd9 100644 --- a/templates/page.html +++ b/templates/page.html @@ -15,7 +15,7 @@
-
+
{{ this.body }}