From e313a52daf0b28c78277f34fa34f87c9b6bfe874 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 30 Jun 2024 00:12:18 +0400 Subject: [PATCH] Wrap nav links into a list. --- web/assets/css/main.css | 3 ++- web/base.templ | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/assets/css/main.css b/web/assets/css/main.css index d05f6e0..e9eb7c4 100755 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -147,9 +147,10 @@ header.main nav { font-variant: small-caps; width: 300px; } -header.main nav div { +header.main nav ul { display: flex; justify-content: space-evenly; + list-style: none; width: 100%; } section { diff --git a/web/base.templ b/web/base.templ index 3ad02a6..19808e7 100644 --- a/web/base.templ +++ b/web/base.templ @@ -51,17 +51,17 @@ templ navigation(title string) { {{ sections := []string{"Stuff", "Mindflow", "About", "Guestbook"} }} {{ links := []templ.SafeURL{"/stuff", "/mindflow", "/about", "/guestbook"} }}