From 96b20ee6fe5216c89bf1d7fae7ea769fa52f21b6 Mon Sep 17 00:00:00 2001 From: Srijan Banerjee Date: Tue, 14 Sep 2021 21:06:31 +0530 Subject: [PATCH 1/2] navbar item color change on hover added --- www/templates/jfoundation/css/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/templates/jfoundation/css/custom.css b/www/templates/jfoundation/css/custom.css index 5348f18..a1335e8 100644 --- a/www/templates/jfoundation/css/custom.css +++ b/www/templates/jfoundation/css/custom.css @@ -56,6 +56,11 @@ body.site.fluid { border-radius: 0; } +/* addition of background color change of navbar items on hover */ +.navigation .nav li > a{ + background-color: #4c831f; +} + /* footer */ .footer { text-align: center; From 3749c3b7000e53b39fee42a94ea21cae7ed48588 Mon Sep 17 00:00:00 2001 From: Srijan Banerjee Date: Thu, 7 Oct 2021 10:56:31 +0530 Subject: [PATCH 2/2] Added hover functionality --- www/templates/jfoundation/css/custom.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/www/templates/jfoundation/css/custom.css b/www/templates/jfoundation/css/custom.css index a1335e8..af94e33 100644 --- a/www/templates/jfoundation/css/custom.css +++ b/www/templates/jfoundation/css/custom.css @@ -56,11 +56,18 @@ body.site.fluid { border-radius: 0; } -/* addition of background color change of navbar items on hover */ -.navigation .nav li > a{ - background-color: #4c831f; +/* Addition of change in background color on hover */ +.navigation .nav li > a:hover{ + background-color: #345d12; + color: black; } +.navigation .nav li > a:focus{ + color: white; + text-decoration: underline; +} + + /* footer */ .footer { text-align: center;