Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Tag: Reverted
Line 30: Line 30:
     max-width: 520px;
     max-width: 520px;
     line-height: 1.6;
     line-height: 1.6;
}
/* ========== Dark mode: white background for images ========== */
html[data-mw-skin-citizen-theme="dark"] .mw-parser-output img {
    background-color: #ffffff;
    padding: 3px;
    border-radius: 3px;
}
@media (prefers-color-scheme: dark) {
    html[data-mw-skin-citizen-theme="auto"] .mw-parser-output img {
        background-color: #ffffff;
        padding: 3px;
        border-radius: 3px;
    }
}
}

Revision as of 12:23, 12 May 2026

/* ========== Main page hero ========== */

.altered-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3em 1em 2.5em;
    gap: 0.75em;
    width: 100%;
    box-sizing: border-box;
}

.altered-hero__logo img {
    width: 128px;
    height: 128px;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.18));
}

.altered-hero__title {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.altered-hero__tagline {
    font-size: 1.1em;
    opacity: 0.75;
    max-width: 520px;
    line-height: 1.6;
}

/* ========== Dark mode: white background for images ========== */

html[data-mw-skin-citizen-theme="dark"] .mw-parser-output img {
    background-color: #ffffff;
    padding: 3px;
    border-radius: 3px;
}

@media (prefers-color-scheme: dark) {
    html[data-mw-skin-citizen-theme="auto"] .mw-parser-output img {
        background-color: #ffffff;
        padding: 3px;
        border-radius: 3px;
    }
}