Jump to content

MediaWiki:Common.css: Difference between revisions

From FC1
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


 
/* Target all common MediaWiki dark mode classes */
@keyframes wave {
.skin-theme-clientpref-night img {
  0%, 100% { transform: translateY(0) !important; }
    background-color: transparent !important;
  50%      { transform: translateY(-6px) !important; }
}
.wavy span {
  display: inline-block !important;
  animation: wave 1s ease-in-out infinite !important;
  animation-delay: var(--wave-delay, 0s) !important;
}
@keyframes hue-cycle {
  from { color: hsl(var(--hue), 100%, 60%) !important; }
  to  { color: hsl(calc(var(--hue) + 360deg), 100%, 60%) !important; }
}
.rainbow span {
  animation: hue-cycle 3s linear infinite !important;
  animation-delay: var(--delay, 0s) !important;
}
.wavy.rainbow span {
  display: inline-block !important;
  animation: wave 1s ease-in-out infinite, hue-cycle 3s linear infinite !important;
  animation-delay: var(--wave-delay, 0s), var(--delay, 0s) !important;
}
}

Latest revision as of 15:26, 23 March 2026

/* CSS placed here will be applied to all skins */

/* Target all common MediaWiki dark mode classes */
.skin-theme-clientpref-night img {
    background-color: transparent !important;
}