From 3300021663ce97a5fd368438fa9dac5943aa6d25 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 28 Oct 2024 12:13:41 +0100 Subject: simplify header/site-nav styles more MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- links/hero.css | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'links/hero.css') diff --git a/links/hero.css b/links/hero.css index 45f3127..bd66c25 100644 --- a/links/hero.css +++ b/links/hero.css @@ -20,22 +20,17 @@ main.hero>img { max-width: 66vw; } -main.hero>nav li+li { - margin-top: 5px; -} - -main.hero>nav section+section { - margin-top: 15px; -} - main.hero>nav { - float: none; width: calc(700px / 2); } -main.hero>nav ul { - padding-left: 0; - margin: 0; +main.hero>nav section { + display: block; + margin-left: 1rem; +} + +main.hero>nav section+section { + margin-top: 15px; } main.hero>nav section.left { @@ -53,3 +48,12 @@ main.hero>nav section.right { padding-left: 15px; border-left: 1px solid var(--fg); } + +main.hero>nav ul { + padding-left: 0; + margin: 0; +} + +main.hero>nav li+li { + margin-top: 5px; +} -- cgit 1.4.1