Template:Wikipedia's sister projects/styles.css: Difference between revisions
put that in the 360 pile |
m 17 revisions imported Tags: Mobile edit Mobile web edit |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 21: | Line 21: | ||
#sister-projects-list li > div:first-child { | #sister-projects-list li > div:first-child { | ||
text-align: center; | text-align: center; | ||
} | |||
@media screen { | |||
.sister-projects-wikt-icon-dark, | |||
html.skin-theme-clientpref-night .sister-projects-wikt-icon-light { | |||
display: none; | |||
} | |||
html.skin-theme-clientpref-night .sister-projects-wikt-icon-dark { | |||
display: inline; | |||
} | |||
} | |||
@media screen and ( prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .sister-projects-wikt-icon-dark { | |||
display: inline; | |||
} | |||
html.skin-theme-clientpref-os .sister-projects-wikt-icon-light { | |||
display: none; | |||
} | |||
} | } | ||