From bd1e0681d30e60937841252564e3c3f9063c4d23 Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Wed, 16 Aug 2023 15:33:14 +0200 Subject: [PATCH] index: Added global navbar --- src/index.html | 10 ++++++++-- src/style.css | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index b49e2c7..ee27bee 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,4 @@ - + @@ -22,6 +22,12 @@ i like posting silly things on the web! you can find a bunch of it here!

+ +
@@ -67,7 +73,7 @@ emailDisplay.innerText = email; event.preventDefault(); }, - { once: true } + { once: true }, ); diff --git a/src/style.css b/src/style.css index 4b567c5..4a8afd3 100644 --- a/src/style.css +++ b/src/style.css @@ -73,3 +73,20 @@ footer { text-align: justify; } + +#site-navigation { + width: 100%; +} + +#site-navigation ul { + width: 100%; + display: flex; + flex-wrap: wrap; + list-style-type: none; + justify-content: space-evenly; + padding: 0; +} + +#site-navigation li { + padding: 0 1em; +}