From b67d1461fa2a259f0c4771badebe71c3d1eb2b57 Mon Sep 17 00:00:00 2001 From: jeevika18 Date: Fri, 18 Oct 2024 21:51:26 +0530 Subject: [PATCH] contact us is made visible in darkmode --- index.html | 2 +- index.js | 21 --------------------- style.css | 9 ++++++++- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 23ea2fd..0a55ba4 100644 --- a/index.html +++ b/index.html @@ -603,7 +603,7 @@
swasthyapoint2024@gmail.com
-

Contact Us

+

Contact Us

Have Any Query? Please Contact Us!

diff --git a/index.js b/index.js index 4e10a00..f548449 100644 --- a/index.js +++ b/index.js @@ -20,24 +20,3 @@ window.addEventListener('scroll', function(){ }) -document.addEventListener('DOMContentLoaded',() => { - const darkToggle = document.getElementById('dark-change'); - - if(localStorage.getItem('darkMode') === 'enabled'){ - document.body.classList.add('dark-mode'); - darkToggle.classList.add('active'); - } - - darkToggle.addEventListener('click' , ()=> - { - document.body.classList.toggle('dark-mode'); - darkToggle.classList.toggle('active'); - - if (document.body.classList.contains('dark-mode')){ - localStorage.setItem('darkMode','enabled'); - } - else{ - localStorage.setItem('darkMode','disabled'); - } - }); -}); \ No newline at end of file diff --git a/style.css b/style.css index 21c01a5..abb7e05 100644 --- a/style.css +++ b/style.css @@ -608,8 +608,15 @@ section { color: #fff; } +body.night .mb-4{ + color: #000; + padding-top:4px; +} - +.mb-4{ + color: #000; + padding-top: 4px; +}