From 7c15d49ee0ca29a2def30bc06f44e4f7c592ddf6 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Wed, 26 Oct 2022 21:40:37 +0100 Subject: [PATCH] Add hover and active styles to sidebar links --- style/new_style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/style/new_style.css b/style/new_style.css index 0e11923..5e762d9 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -4,6 +4,7 @@ --accent-color: darkslategrey; --overlay-color: #2f4f4f8f; --main-text-color: azure; + --link-color: cyan; } /* FONTS */ @font-face { @@ -123,11 +124,13 @@ body { text-decoration: none; text-align: center; font-size: 25px; - color: cyan; + color: var(--link-color); display: block; white-space: nowrap; } - #sidebar_logo { +#sidebar_a:hover {color: var(--main-text-color)} +#sidebar_a:active {color: var(--main-text-color)} +#sidebar_logo { margin-top: 40%; text-align: center; }