Template:Featured article/styles.css

Revision as of 18:58, 15 October 2025 by AZMindroma (talk | contribs) (Created page with "Featured article header styling: .featured-header { border-width: 1px; border-style: solid; margin-top: 3px; margin-bottom: 0.5em; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; background: #cef2e0; border-color: #a3bfb1; } Dark mode support for Featured article header: html.skin-theme-clientpref-night .featured-header { background-color: #104437; border-color: #2f4d41; color:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Featured article header styling */
.featured-header {
    border-width: 1px;
    border-style: solid;
    margin-top: 3px;
    margin-bottom: 0.5em;
    padding: 0.2em 0.4em;
    font-size: 120%;
    font-weight: bold;
    font-family: inherit;
    background: #cef2e0;
    border-color: #a3bfb1;
}

/* Dark mode support for Featured article header */
html.skin-theme-clientpref-night .featured-header {
    background-color: #104437;
    border-color: #2f4d41;
    color: #e8e6e3;
}

/* OS dark mode support for Featured article header */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .featured-header {
        background-color: #104437;
        border-color: #2f4d41;
        color: #e8e6e3;
    }
}