12,662
edits"Legacy Content" -> "Legacy content"
Crashaholic (talk | contribs) No edit summary |
("Legacy Content" -> "Legacy content") Tag: content model change |
||
(5 intermediate revisions by one other user not shown) | |||
Line 39: | Line 39: | ||
var foo = document.querySelector('.vector-menu-content-list'); | var foo = document.querySelector('.vector-menu-content-list'); | ||
foo.prepend(node1); | foo.prepend(node1); | ||
node1.id = "pt-mode"; //adding to literally just make it look similar to the other options LMAO | |||
node1.appendChild(node2); | node1.appendChild(node2); | ||
node2.setAttribute('onclick', 'switchTheme()'); | node2.setAttribute('onclick', 'switchTheme()'); | ||
Line 92: | Line 93: | ||
// doesnt actually catch all | // doesnt actually catch all | ||
$('.bg3wiki-tooltip-box').addClass('theme-bg3-light'); | // == Targetted items == | ||
$('.bg3wiki-tooltip-box').addClass('theme-bg3-light'); // the rounded boxes | |||
$('#bg3wiki-legacy-content-notice').addClass('theme-bg3-light'); // Legacy content Template | |||
$('.bg3wiki-blockquote-text').addClass('theme-bg3-light'); // Description Template | |||
$('.mw-list-item.selected').addClass('theme-bg3-light'); // the tabs at the top | |||
// == For images that are pure white (thanks larian) | |||
var a = document.querySelectorAll('img') | |||
a.forEach(function(e) { | |||
e.style.filter = "drop-shadow(0 0 5px #555)"; | |||
}); | |||
} | } |