From e04c4b0793e0cedbabc59a869a63bee0bef57dec Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Wed, 22 Mar 2023 16:52:28 -0500 Subject: Change width --- static/style.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index ba271d6..5371b7f 100644 --- a/static/style.css +++ b/static/style.css @@ -1,9 +1,10 @@ body { color: #212529; background: #fff; - margin: 2% auto; font-family: sans-serif; - max-width: min(95%, 64em); + max-width: 960px; + margin: 0 auto; + padding: 0 1rem; } a { @@ -28,9 +29,18 @@ hr { color: #fff; } -header, +header { + text-align: center; +} + +article { + max-width: 720px; + margin: 0 auto; +} + footer { text-align: center; + margin-bottom: 1rem; } @media (prefers-color-scheme: dark) { @@ -45,4 +55,3 @@ footer { color: #212529; } } - -- cgit v1.2.3