Compare commits

..

2 Commits

Author SHA1 Message Date
00208e3d03 adsfhsdhgfsghd 2024-01-16 19:09:08 +01:00
d07660b082 ucfirst() pre __NAME__ 2024-01-16 19:03:58 +01:00
2 changed files with 3 additions and 3 deletions

@ -163,19 +163,19 @@ header hr {
.navpage_list{ .navpage_list{
margin-top: 8px; margin-top: 8px;
border: 0px solid var(--primary-hover) ;
background-color: var(--third-bg); background-color: var(--third-bg);
margin-top: 10px; margin-top: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
max-height: 0; max-height: 0;
border: 0;
transition: max-height 0.3s ease; transition: max-height 0.3s ease;
} }
.navsite_item:hover .navpage_list { .navsite_item:hover .navpage_list {
max-height: 200px; max-height: 200px;
border: 8px solid var(--primary-hover) ; border: 4px solid var(--primary-hover) ;
} }
a.navpage_link{ a.navpage_link{

@ -22,7 +22,7 @@ function generateNavigation($static_page_dir, $protocol, $subdomain, $domain, $t
$site_location = "$protocol$site_dir.$domain.$tld/$default_page"; $site_location = "$protocol$site_dir.$domain.$tld/$default_page";
$navsite = str_replace("__CLASS__", $site_class, $navsite); $navsite = str_replace("__CLASS__", $site_class, $navsite);
$navsite = str_replace("__LOCATION__", $site_location, $navsite); $navsite = str_replace("__LOCATION__", $site_location, $navsite);
$navsite = str_replace("__NAME__", $site_name, $navsite); $navsite = str_replace("__NAME__", $site_name.ucfirst(), $navsite);
if ($subdomain == $site_dir) { if ($subdomain == $site_dir) {
//this is the current page //this is the current page