From 1372041271810eb209a8e4efe2937e75a25d6d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 22 Feb 2024 18:25:21 +0100 Subject: [PATCH] Fix articles --- assets/style.css | 18 ++++++++++++++++-- lib/navigation.php | 3 --- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/assets/style.css b/assets/style.css index 1b8cf18..1ebec09 100644 --- a/assets/style.css +++ b/assets/style.css @@ -329,11 +329,18 @@ header a, input, textarea { background-color: var(--third-bg); border: 2px solid var(--primary); - border-radius: 50px; +} + +input{ + border-radius: 25px; +} + +textarea{ + border-radius: 10px; } button { - border-radius: 50px; + border-radius: 25px; border: 2px solid var(--primary); background: var(--third-bg); color: var(--primary-text); @@ -369,6 +376,9 @@ body:has(.ye-span:hover) { border: 5px solid var(--primary); z-index: 5; margin: auto; + padding: 40px; + background-color: var(--primary-bg); + border-radius: 50px; } #articlecreatecontainer{ @@ -405,4 +415,8 @@ div#articleslist > article > div.articleinfo{ div#articleslist>article{ border: 4px solid var(--primary); +} + +a.navsite_link.active:after{ + } \ No newline at end of file diff --git a/lib/navigation.php b/lib/navigation.php index 8479223..df9fe06 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -41,9 +41,6 @@ function generateNavigation(): string $site_location = "/" . $site_dir . "/" . $routerConfig["default_page"]; - $stnm = $routerRequest["site_name"]; - - echo "a: $site_dir b: $stnm\n"; if ($routerRequest["site_name"] == $site_dir) { //this is the current page $site_class = "class=\"navsite_link active\"";