Fix articles

This commit is contained in:
Bruno Rybársky 2024-02-22 18:25:21 +01:00
parent 17d303fb3d
commit 1372041271
2 changed files with 16 additions and 5 deletions

@ -329,11 +329,18 @@ header a,
input, textarea { input, textarea {
background-color: var(--third-bg); background-color: var(--third-bg);
border: 2px solid var(--primary); border: 2px solid var(--primary);
border-radius: 50px; }
input{
border-radius: 25px;
}
textarea{
border-radius: 10px;
} }
button { button {
border-radius: 50px; border-radius: 25px;
border: 2px solid var(--primary); border: 2px solid var(--primary);
background: var(--third-bg); background: var(--third-bg);
color: var(--primary-text); color: var(--primary-text);
@ -369,6 +376,9 @@ body:has(.ye-span:hover) {
border: 5px solid var(--primary); border: 5px solid var(--primary);
z-index: 5; z-index: 5;
margin: auto; margin: auto;
padding: 40px;
background-color: var(--primary-bg);
border-radius: 50px;
} }
#articlecreatecontainer{ #articlecreatecontainer{
@ -405,4 +415,8 @@ div#articleslist > article > div.articleinfo{
div#articleslist>article{ div#articleslist>article{
border: 4px solid var(--primary); border: 4px solid var(--primary);
}
a.navsite_link.active:after{
} }

@ -41,9 +41,6 @@ function generateNavigation(): string
$site_location = "/" . $site_dir . "/" . $routerConfig["default_page"]; $site_location = "/" . $site_dir . "/" . $routerConfig["default_page"];
$stnm = $routerRequest["site_name"];
echo "a: $site_dir b: $stnm\n";
if ($routerRequest["site_name"] == $site_dir) { if ($routerRequest["site_name"] == $site_dir) {
//this is the current page //this is the current page
$site_class = "class=\"navsite_link active\""; $site_class = "class=\"navsite_link active\"";