Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;

Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
/* Wikipedia Dark Mode Enhancements - Animations & Effects */

document.addEventListener("DOMContentLoaded", () => {
    // Smooth fade-in effect for content
    const content = document.querySelector(".mw-body-content");
    if (content) {
        content.style.opacity = "0";
        content.style.transition = "opacity 0.6s ease-in-out";
        setTimeout(() => content.style.opacity = "1", 200);
    }
    
    // Hover effect on links
    document.querySelectorAll("a").forEach(link => {
        link.addEventListener("mouseenter", () => {
            link.style.transition = "color 0.3s ease-in-out";
            link.style.color = "#00c3ff";
        });
        link.addEventListener("mouseleave", () => {
            link.style.color = "";
        });
    });
    
    // Floating effect on images
    document.querySelectorAll("img").forEach(img => {
        img.style.transition = "transform 0.3s ease-in-out";
        img.addEventListener("mouseenter", () => {
            img.style.transform = "scale(1.05)";
        });
        img.addEventListener("mouseleave", () => {
            img.style.transform = "scale(1)";
        });
    });
    
    // Glow effect on headers
    document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(header => {
        header.style.transition = "text-shadow 0.3s ease-in-out";
        header.addEventListener("mouseenter", () => {
            header.style.textShadow = "0 0 10px #0094ff";
        });
        header.addEventListener("mouseleave", () => {
            header.style.textShadow = "none";
        });
    });
    
    // Smooth scrolling for internal links
    document.querySelectorAll("a[href^='#']").forEach(anchor => {
        anchor.addEventListener("click", function(e) {
            e.preventDefault();
            const target = document.querySelector(this.getAttribute("href"));
            if (target) {
                window.scrollTo({
                    top: target.offsetTop - 50,
                    behavior: "smooth"
                });
            }
        });
    });
});