MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================================
  Site wordmark – CRT chromatic aberration
  ========================================= */
.branding-box span {
    text-shadow:
        2px  1px  0px rgba(255, 0, 0, 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);
    }
}
@media (max-width: 600px) {
@media (max-width: 600px) {
     .infobox-crt-model {
     .infobox-crt-model {
Line 20: Line 59:
         display: table-cell !important;
         display: table-cell !important;
         word-wrap: break-word !important;
         word-wrap: break-word !important;
    }
}
/* Respect system dark mode preference as fallback before JS loads */
@media (prefers-color-scheme: dark) {
    html:not(.skin-theme-clientpref-day) {
        color-scheme: dark;
     }
     }
}
}
MediaWiki Appliance - Powered by TurnKey Linux