This commit is contained in:
Bruno Rybársky 2024-01-12 15:19:05 +01:00
parent 25048bd4cb
commit 9f30abbd01
2 changed files with 8 additions and 2 deletions

@ -161,9 +161,14 @@ header hr {
display: flex !important; display: flex !important;
} }
.navpage_item{ .navpage_list{
margin-top: 8px; margin-top: 8px;
border: 8px solid var(--primary-hover) ; border: 8px solid var(--primary-hover) ;
background-color: var(--third-bg); background-color: var(--third-bg);
padding: 10px; padding-top: 10px;
}
a.navpage_link{
padding: 0;
margin: 0;
} }

@ -35,6 +35,7 @@ foreach($site_dirs as $site_dir){
$page_location = "$site_dir.$domain.$tld/$page_dir"; $page_location = "$site_dir.$domain.$tld/$page_dir";
$page_name = str_replace("_", " ", $page_dir); $page_name = str_replace("_", " ", $page_dir);
$page_name = explode(".", $page_name)[0];
$navpage = str_replace("__CLASS__", $page_class, $navpage); $navpage = str_replace("__CLASS__", $page_class, $navpage);
$navpage = str_replace("__LOCATION__", $page_location, $navpage); $navpage = str_replace("__LOCATION__", $page_location, $navpage);