From 4e0520c20d85e03136116ba1a5f2f70c717f7333 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Thu, 16 May 2024 18:22:59 -0400 Subject: [PATCH] flex to complete vertical/horizontal site --- style.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index 9a78af8..480cde3 100644 --- a/style.css +++ b/style.css @@ -1,8 +1,11 @@ body { font-size: medium; - display: flex; padding: 1em; max-width: 1280px; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 1.5em; } img, video { max-width: 100% } @@ -17,6 +20,7 @@ header { font-size: xx-large; position: sticky; top: 1em; + flex-wrap: wrap; & a { text-decoration: none; &:hover { @@ -36,11 +40,11 @@ header { } } -main { - padding-left: 1.5rem; -} +main { flex: 1 } + +/* used mostly by .zs/index, should maybe class it? */ +ul { padding-left: 0 } -/* used mostly by .zs/index */ ul li { display: flex; align-items: baseline;