From f6177e2a1a3c385d2a6cde8a55e9b5e9703fd556 Mon Sep 17 00:00:00 2001 From: clashofclanselixircollector Date: Wed, 8 Jan 2025 16:37:31 -0800 Subject: [PATCH] Update js/darkmode.js --- js/darkmode.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/darkmode.js b/js/darkmode.js index 69f035d..3e57e82 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -42,6 +42,8 @@ $(document).ready(function() { 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'; }); const headTwo = document.querySelector('h2'); headTwo.style.color = 'black';