From 1104cbd155fc551eee24308572f7381b46b40e09 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 24 Jul 2022 22:11:05 -0500 Subject: Fix margins and widths --- style.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index 0934393..bdcb305 100644 --- a/style.css +++ b/style.css @@ -22,10 +22,18 @@ body { main { display: flex; flex-flow: row nowrap; + margin: auto; + max-width: 150ch; } -#items { - max-width: 70ch; +main section { + max-width: 100ch; +} + +main aside { + flex-grow: 1; + text-align: right; + max-width: 40ch; } header { @@ -100,11 +108,6 @@ tr:nth-child(odd), background: var(--alt-background); } -aside { - flex-grow: 1; - text-align: right; -} - aside li { list-style: none; } -- cgit 1.4.1-21-gabe81