From 4f261cba2f0ba4ac747f377e9f20423d18d4db01 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 14:26:57 +0000 Subject: [PATCH] Update 2 files - /html/src/css/style.css - /include/functions.php --- html/src/css/style.css | 13 +++++++------ include/functions.php | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/html/src/css/style.css b/html/src/css/style.css index 0bd84037..d84c28cd 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -45,6 +45,12 @@ a { color: var(--text-color); } +a:hover { + background-color: var(--dark-background); + border-radius: 10px; + box-shadow: 0 0 15px rgba(255, 255, 255, 0.322); +} + .content { width: 80%; margin: 0 auto; @@ -81,12 +87,7 @@ a { .article { background-color: var(--dark-background); border-radius: 10px; -} - -.article:hover { - background-color: var(--dark-background); - border-radius: 10px; - box-shadow: 0 0 15px rgba(255, 255, 255, 0.322); + margin: 1em 0; } .article-content { diff --git a/include/functions.php b/include/functions.php index 1cf55435..ad3cb9a7 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3,15 +3,15 @@ session_start(); function nav($nav) { foreach($nav as $name => $url) { - echo ""; + echo ""; } if(isset($_SESSION['userid'])) { - echo ""; + echo ""; } if (isset($_SESSION['userid'])) { - echo ""; + echo ""; } else { - echo ""; + echo ""; } }