Template:Sister project/styles.css: Difference between revisions
From All Skies Encyclopaedia
imported>Izno m (Protected "Template:Sister project/styles.css": Highly visible template, match parent ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
imported>Jdlrobson (phab:T365622 this has been bugging me for too long and this seems like the most reasonable fix here. Will follow up on talk page.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
/* {{pp-template|small=yes}} */ |
|||
@media print { |
@media print { |
||
body.ns-0 .sistersitebox { |
body.ns-0 .sistersitebox { |
||
display: none !important; |
display: none !important; |
||
} |
|||
} |
|||
/* The Wiktionary logo needs a white background in dark mode since it is a transparent SVG */ |
|||
@media screen { |
|||
html.skin-theme-clientpref-night .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"] { |
|||
background-color: white; |
|||
} |
|||
} |
|||
@media screen and (prefers-color-scheme: dark) { |
|||
html.skin-theme-clientpref-os .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"] { |
|||
background-color: white; |
|||
} |
} |
||
} |
} |
Latest revision as of 20:11, 27 July 2024
/* {{pp-template|small=yes}} */
@media print {
body.ns-0 .sistersitebox {
display: none !important;
}
}
/* The Wiktionary logo needs a white background in dark mode since it is a transparent SVG */
@media screen {
html.skin-theme-clientpref-night .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"] {
background-color: white;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"] {
background-color: white;
}
}