From a67e1d6febdd576b27ab47313f1cf58cff2548f1 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Aug 2020 08:13:06 -0400 Subject: experiment with narrower widths to improve readability --- local.css | 10 +++++++++- templates/page.tmpl | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/local.css b/local.css index 757863e4..b712bf4d 100644 --- a/local.css +++ b/local.css @@ -1,6 +1,14 @@ /* ikiwiki local style sheet */ -#content { line-height: 1.5 } +.pageheader, .pagebody, .pagefooter { + max-width: 60rem; + margin: 0 auto; +} + +#content { + max-width: 38rem; + line-height: 1.5; +} video { max-width: 100% } diff --git a/templates/page.tmpl b/templates/page.tmpl index f741a107..0569cf23 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -123,6 +123,8 @@ +
+