diff --git a/assets/style.css b/assets/style.css index 584d202..e256b2f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -161,9 +161,14 @@ header hr { display: flex !important; } -.navpage_item{ +.navpage_list{ margin-top: 8px; border: 8px solid var(--primary-hover) ; background-color: var(--third-bg); - padding: 10px; + padding-top: 10px; +} + +a.navpage_link{ + padding: 0; + margin: 0; } \ No newline at end of file diff --git a/templates/navpages.php b/templates/navpages.php index 5a3735f..81937cd 100644 --- a/templates/navpages.php +++ b/templates/navpages.php @@ -35,6 +35,7 @@ foreach($site_dirs as $site_dir){ $page_location = "$site_dir.$domain.$tld/$page_dir"; $page_name = str_replace("_", " ", $page_dir); + $page_name = explode(".", $page_name)[0]; $navpage = str_replace("__CLASS__", $page_class, $navpage); $navpage = str_replace("__LOCATION__", $page_location, $navpage);