MediaWiki:Common.css: Difference between revisions

more wikipedia-like infoboxes
bigger infobox title
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
     --pi-background: var(--background-color-interactive-subtle, #f8f9fa) !important;
     --pi-background: var(--background-color-interactive-subtle, #f8f9fa) !important;
     --pi-secondary-background: #dedee2 !important;
     --pi-secondary-background: #dedee2 !important;
    --pi-border-color: transparent;
}
}


@media screen {
@media screen {
html.skin-theme-clientpref-night {
    html.skin-theme-clientpref-night {
--pi-secondary-background: hsl(240,6%,20%) !important;
        --pi-secondary-background: hsl(240,6%,20%) !important;
}
    }
}
}


@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os {
    html.skin-theme-clientpref-os {
--pi-secondary-background: hsl(240,6%,20%) !important;
        --pi-secondary-background: hsl(240,6%,20%) !important;
}
    }
}
}


Line 23: Line 24:
aside.portable-infobox .pi-title {
aside.portable-infobox .pi-title {
     background-color: var(--pi-secondary-background);
     background-color: var(--pi-secondary-background);
     font-size: 140%;
     font-size: 150%;
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;