MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* 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); | |||
} | |||
} | |||
Revision as of 22:33, 4 December 2023
/* Any JavaScript here will be loaded for all users on every page load. */ /* 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); } }