Module:Navbar/styles.css: Difference between revisions

From Wikipedia (https://en.wikipedia.org/w/index.php?title=Module:Navbar/styles.css)
 
m Add attribution
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/*
* This file uses material from the Wikipedia/MediaWiki project,
* released under the Creative Commons Attribution-ShareAlike 4.0 International License.
* Source: https://en.wikipedia.org/wiki/Module:Navbar/styles.css
*/
/* {{pp|small=yes}} */
/* {{pp|small=yes}} */
.navbar {
.navbar {
Line 57: Line 63:
}
}


/* not the usual @media screen, we simply remove navbar in @media print */
/* Dark mode support */
html.skin-theme-clientpref-night .navbar li a abbr {
html.skin-theme-clientpref-night .navbar li a abbr {
color: var(--color-base) !important;
color: var(--color-base, #eaecf0) !important;
}
}


@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .navbar li a abbr {
html.skin-theme-clientpref-os .navbar li a abbr {
color: var(--color-base) !important;
color: var(--color-base, #eaecf0) !important;
}
}
}
}