diff options
| author | Jacob McDonnell <jacobmcdonnell@Jacobs-iMac.local> | 2020-01-25 18:04:41 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacobmcdonnell@Jacobs-iMac.local> | 2020-01-25 18:04:41 -0500 |
| commit | 8f294f9c663fc0a6b27e01db943c29ffed3c052a (patch) | |
| tree | 738169fdad592d3f4899a5b553a05621b5707774 | |
| parent | 7d0ee1b556a6cf1435bdc7fad26b1748767030a6 (diff) | |
Fix of the Update of redsign 3
| -rw-r--r-- | CSS/GreenAndDark.css | 3 | ||||
| -rw-r--r-- | CSS/PurpleAndDark.css | 3 | ||||
| -rw-r--r-- | CSS/PurpleAndWhite.css | 2 | ||||
| -rw-r--r-- | CSS/main.css | 2 | ||||
| -rw-r--r-- | 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(); + }); + })(); </script> </main> </body> |
