Update js/darkmode.js
This commit is contained in:
parent
0ead9be442
commit
f6177e2a1a
@ -42,6 +42,8 @@ $(document).ready(function() {
|
|||||||
const paragraphs = document.querySelectorAll('p');
|
const paragraphs = document.querySelectorAll('p');
|
||||||
paragraphs.forEach(function(p) {
|
paragraphs.forEach(function(p) {
|
||||||
p.style.color = 'black';
|
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');
|
const headTwo = document.querySelector('h2');
|
||||||
headTwo.style.color = 'black';
|
headTwo.style.color = 'black';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user