From c396495b0119b6e0ef8bd9a33886493edd748631 Mon Sep 17 00:00:00 2001 From: Nicholas Lamicela Date: Sun, 15 Sep 2024 14:22:07 -0700 Subject: [PATCH] simplify margins --- content/index.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/content/index.css b/content/index.css index c945741..749da42 100644 --- a/content/index.css +++ b/content/index.css @@ -22,20 +22,15 @@ box-sizing: border-box; } -html, body { - padding: 1rem; + overflow-y: scroll; + max-width: 100ch; + padding: 0 1rem; margin: 0 auto; font-family: var(--font-family); color: var(--text-color); background-color: var(--background-color); } -html { - overflow-y: scroll; -} -body { - max-width: 100ch; -} /* https://www.a11yproject.com/posts/how-to-hide-content/ */ .visually-hidden {