Update js/darkmode.js
This commit is contained in:
parent
8f5baf83b1
commit
772120f944
@ -41,9 +41,7 @@ $(document).ready(function() {
|
|||||||
body.style.backgroundImage= "url('/images/dirt wallpaper.jpg')";
|
body.style.backgroundImage= "url('/images/dirt wallpaper.jpg')";
|
||||||
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 = 'gray';
|
||||||
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