ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

MediaWiki talk:Sitenotice

From ModEnc
Jump to navigation Jump to search

Regarding the visual compatibility of the Vector 2022 theme in dark mode

Preview

Perhaps this can be changed to the following format;

<div class="notic">'''ModEnc is currently in Maintenance Mode:''' Changes could occur at any given moment, without advance warning.</div>

this way, it allows for separately defining dark mode under Vector 2022 through modifications to CSS, as shown below:

.notic {
    background-color: #FFCCCC;
    border: 1px solid #FF8888;
    color: #000000;
    font-size: 0.95em;
}

.client-js .vector-feature-client-prefs-pinned-enabled .vector-page-titlebar .notic,
.skin-vector-2022 .notic {
    transition: background-color 0.3s, border-color 0.3s;
}

@media (prefers-color-scheme: dark) {
    .skin-vector-2022 .notic {
        background-color: rgba(100, 30, 30, 0.35);
        border-color: #5a2a2a;
        color: #ffffff;
    }
}

.vector-theme-dark .notic {
    background-color: rgba(80, 20, 20, 0.4) !important;
    border-color: #4a2222 !important;
    color: #ffffff !important;
}

.skin-theme-clientpref-dark .notic,
.skin-theme-clientpref-night .notic {
    background-color: rgba(90, 25, 25, 0.4) !important;
    border-color: #522525 !important;
    color: #ffffff !important;
}
DeathFish (talk) 19:05, 7 February 2026 (UTC)