From 8f294f9c663fc0a6b27e01db943c29ffed3c052a Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Jan 2020 18:04:41 -0500 Subject: Fix of the Update of redsign 3 --- CSS/GreenAndDark.css | 3 ++- CSS/PurpleAndDark.css | 3 ++- CSS/PurpleAndWhite.css | 2 +- CSS/main.css | 2 +- settings.html | 13 +++++++++++++ 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CSS/GreenAndDark.css b/CSS/GreenAndDark.css index cd8e7ec..75f48bc 100644 --- a/CSS/GreenAndDark.css +++ b/CSS/GreenAndDark.css @@ -28,7 +28,8 @@ a{ .active { position: absolute; display: block; - background: #D2D2D2; + background: rgba(37,37,37,1); + color: #fff; width: 50%; left: 0; top: 0; diff --git a/CSS/PurpleAndDark.css b/CSS/PurpleAndDark.css index ef6ef8c..f8198fb 100644 --- a/CSS/PurpleAndDark.css +++ b/CSS/PurpleAndDark.css @@ -24,7 +24,8 @@ a{ .active { position: absolute; display: block; - background: #D2D2D2; + background: rgba(37,37,37,1); + color: #fff; width: 50%; left: 0; top: 0; diff --git a/CSS/PurpleAndWhite.css b/CSS/PurpleAndWhite.css index c2067b4..ef8ee99 100644 --- a/CSS/PurpleAndWhite.css +++ b/CSS/PurpleAndWhite.css @@ -24,7 +24,7 @@ a{ .active { position: absolute; display: block; - background: #D2D2D2; + background: rgba(210,210,210,1); width: 50%; left: 0; top: 0; diff --git a/CSS/main.css b/CSS/main.css index 819f5bc..aa67497 100644 --- a/CSS/main.css +++ b/CSS/main.css @@ -28,7 +28,7 @@ a{ .active { position: absolute; display: block; - background: #D2D2D2; + background:rgba(210,210,210,1); width: 50%; left: 0; top: 0; diff --git a/settings.html b/settings.html index eab3848..1c6c124 100644 --- a/settings.html +++ b/settings.html @@ -68,6 +68,19 @@ checkCookie(); } }); + (function() { + var menu = document.querySelector('ul'), + menulink = document.getElementById('menuicon'), + menuclose = document.getElementById('menuX'); + menulink.addEventListener('click', function(e) { + menu.classList.toggle('active'); + e.preventDefault(); + }); + menuX.addEventListener('click', function(e) { + menu.classList.toggle('active'); + e.preventDefault(); + }); + })(); -- cgit v1.2.3