summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-10-18 10:49:01 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-10-18 10:49:01 -0500
commit58e71a26e197dba39f6dca7a449a10bfab7993d4 (patch)
tree523a1569cc7e97ecea38d8b95c78d0afadc77496
parent9c558bc643d9dab2b083fa1301439eb0f6dc86e7 (diff)
add padding to <main>main
recent change removed the padding on <main>, so on small screen widths there was no space between content and the edge. previously <main> relied on its parent's padding, but now that it's removed, must be added to the element itself.
-rw-r--r--style.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/style.css b/style.css
index e8752de..aa281f3 100644
--- a/style.css
+++ b/style.css
@@ -9,6 +9,7 @@ body {
}
main {
margin: 0 auto;
+ padding: 0.5rem 1rem;
max-width: 650px;
}
body > header {