Jump to content

MediaWiki:Common.js: Difference between revisions

From OkayXairen Wiki
nvm couldn't get it to work
Tag: Manual revert
No edit summary
Line 5: Line 5:
             font-weight: bold !important;
             font-weight: bold !important;
         }
         }
    `;
    document.head.appendChild(style);
} else if (window.location.href.includes("The_Bold_Plague")) {
    const style = document.createElement("style");
    style.textContent = `
        filter: saturate(10) sepia(1) hue-rotate(140deg) invert(1);
     `;
     `;
     document.head.appendChild(style);
     document.head.appendChild(style);
}
}

Revision as of 19:42, 11 March 2026

if (window.location.href.includes("The_Bold_Plague")) {
    const style = document.createElement("style");
    style.textContent = `
        * {
            font-weight: bold !important;
        }
    `;
    document.head.appendChild(style);
} else if (window.location.href.includes("The_Bold_Plague")) {
    const style = document.createElement("style");
    style.textContent = `
        filter: saturate(10) sepia(1) hue-rotate(140deg) invert(1);
    `;
    document.head.appendChild(style);
}