From 772120f944c2fc31ec9000c337913c4bdc8db831 Mon Sep 17 00:00:00 2001 From: clashofclanselixircollector Date: Wed, 8 Jan 2025 16:54:17 -0800 Subject: [PATCH] Update js/darkmode.js --- js/darkmode.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/darkmode.js b/js/darkmode.js index 2a76d78..bef0cca 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -41,9 +41,7 @@ $(document).ready(function() { body.style.backgroundImage= "url('/images/dirt wallpaper.jpg')"; const paragraphs = document.querySelectorAll('p'); paragraphs.forEach(function(p) { - p.style.color = 'black'; - p.classList.add('text-shadow'); - p.style.textShadow = '-1px 0 gray, 0 1px gray, 1px 0 gray, 0 -1px gray'; + p.style.color = 'gray'; }); const headTwo = document.querySelector('h2'); headTwo.style.color = 'black';