1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00

Adds link to /htmgem on the icon of the menu

This commit is contained in:
Christophe HENRY 2022-07-28 23:29:14 +02:00
parent d68b403f33
commit ddac76e5fa
3 changed files with 17 additions and 1 deletions

View File

@ -25,6 +25,14 @@ blockquote {
color: #000;
}
.menu a.logo {
color: #000;
}
.menu a.logo:hover {
color: blue;
}
.menu hr {
color: white;
}

View File

@ -29,6 +29,14 @@ pre {
padding: 1rem;
}
.menu a {
margin: 0;
}
.menu a:before {
content: "";
}
a {
margin: -1.35rem;
color: #090;

View File

@ -55,7 +55,7 @@ function getMenu(string $scheme, string $domain, string $path, string $prefix=nu
}
$linkList [] = $lastLink."\n"; // The last part holds no link
$output = "<div class='menu-line'>\n";
$output .= "<strong>$txt_icon</strong>$scheme\n";
$output .= "<strong><a class='logo' href='/htmgem'>$txt_icon</a></strong>$scheme\n";
$output .= implode(" / ", $linkList);
$output .= "</div>\n";
return $output;