Jump to content

Template:Infobox government agency/styles.css

Revision as of 07:41, 1 March 2026 by Walter61 (talk | contribs) (Created page with "Dark mode fix for Infobox government agency: @media (prefers-color-scheme: dark) { Section headers like "Agency overview": .infobox caption, .infobox .infobox-header, .infobox th.infobox-header, .infobox .infobox-section-header { background-color: #1B223D !important; same dark blue: color: #e0f0ff !important; border-color: #3a506b !important; } Specifically target the white overview row: .inf...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Dark mode fix for Infobox government agency */

@media (prefers-color-scheme: dark) {

    /* Section headers like "Agency overview" */
    .infobox caption,
    .infobox .infobox-header,
    .infobox th.infobox-header,
    .infobox .infobox-section-header {
        background-color: #1B223D !important;  /* same dark blue */
        color: #e0f0ff !important;
        border-color: #3a506b !important;
    }

    /* Specifically target the white overview row */
    .infobox th[colspan="2"] {
        background-color: #1B223D !important;
        color: #e0f0ff !important;
        border-color: #3a506b !important;
    }
}