MediaWiki:Common.css: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 16: Line 16:
     cursor: url('http://wiki.tonychasearchive.com/resources/assets/custom-cursor.cur'), auto; /* Adjust the path if needed */
     cursor: url('http://wiki.tonychasearchive.com/resources/assets/custom-cursor.cur'), auto; /* Adjust the path if needed */
}
}
/* MediaWiki:SnowEffect.css */
/* Snowflake styling */
.snowflake {
.snowflake {
            position: absolute;
    position: fixed;
            font-size: 20px;
    width: 10px;
            color: #fff;
    height: 10px;
            user-select: none;
    background-color: #fff;
        }
    border-radius: 50%;
@keyframes fall {
    pointer-events: none;
            to {
    animation: snowfall linear infinite;
                transform: translate(0, ${window.innerHeight}px);
}
            }
 
        }
/* Animation */
@keyframes snowfall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

Revision as of 22:31, 4 December 2023

/* Custom Favicon */
head > link[rel="icon"] {
    display: none;
}

/* Custom Favicon Image */
head:after {
    content: url('http://wiki.tonychasearchive.com/resources/assets/custom-cursor.cur'); /* Adjust the path if needed */
}

/* Custom Cursor */
body {
    cursor: url('http://wiki.tonychasearchive.com/resources/assets/Cursor.cur'), auto; /* Adjust the path if needed */
}
a:hover {
    cursor: url('http://wiki.tonychasearchive.com/resources/assets/custom-cursor.cur'), auto; /* Adjust the path if needed */
}
/* MediaWiki:SnowEffect.css */

/* Snowflake styling */
.snowflake {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: snowfall linear infinite;
}

/* Animation */
@keyframes snowfall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}