From 885638e40c98e638d789373b03d6876a57c4551a Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Wed, 17 Jan 2024 08:44:13 +0100 Subject: [PATCH] i did php!! (well what bruno told me) also styles B) --- assets/style.css | 2 +- lib/navpages.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index d0c8667..be04f3a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -31,7 +31,6 @@ nav { -moz-box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); height: 75px !important; - gap: 2rem; } ul { @@ -127,6 +126,7 @@ header hr { .navsite_list{ display: flex; flex-direction: row; + gap: 2rem; } .navpage_list{ display: none; diff --git a/lib/navpages.php b/lib/navpages.php index 9375143..f3084d2 100644 --- a/lib/navpages.php +++ b/lib/navpages.php @@ -15,7 +15,7 @@ function generateNavigation() $site_name = str_replace("_", " ", $site_dir); if ($site_name == "global") { $site_name = "misc"; - $site_dir = $routerConfig["default_page"]; + $site_dir = $routerConfig["default_site"]; } $site_name = ucfirst($site_name);