MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
   Site wordmark – CRT chromatic aberration
   Site wordmark – CRT chromatic aberration
   ========================================= */
   ========================================= */
.citizen-header__logo,
.branding-box span {
.citizen-header__logo span,
.mw-logo-wordmark {
     text-shadow:
     text-shadow:
         -2px  0  0 rgba(255, 0, 0, 0.75),
         2px  1px  0px rgba(255, 0, 0, 0.75),
        2px  0   0 rgba(0, 200, 255, 0.75);
        4px  0px   0  rgba(0, 200, 255, 0.75);
    font-weight: 700;
    font-size: 22px !important;
    transition: text-shadow 0.2s ease;
}
 
.branding-box span:hover {
    animation: chromatic-shift 0.8s steps(4) infinite;
}
 
@keyframes chromatic-shift {
    0% {
        text-shadow:
            2px  1px  0 rgba(255, 0, 0, 0.75),
            4px  0px  0 rgba(0, 200, 255, 0.75);
    }
    25% {
        text-shadow:
            -2px  2px  0 rgba(255, 0, 0, 0.8),
            3px -1px  0 rgba(0, 200, 255, 0.8);
    }
    50% {
        text-shadow:
            3px -1px  0 rgba(255, 0, 0, 0.7),
          -3px  2px  0 rgba(0, 200, 255, 0.7);
    }
    75% {
        text-shadow:
            -1px -2px  0 rgba(255, 0, 0, 0.85),
            4px  1px  0 rgba(0, 200, 255, 0.85);
    }
}
}


MediaWiki Appliance - Powered by TurnKey Linux