Template:Sister project/styles.css: Difference between revisions

From Thetacola Wiki
Jump to navigationJump to search
en>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.
 
m 1 revision imported
 
(No difference)

Latest revision as of 23:05, 16 January 2025

/* {{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;
	}
}