Jump to content

Module:Sister project links/styles.css

Permanently protected module
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Matrix (talk | contribs) at 18:42, 8 October 2024 (fix). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
.sister-box .side-box-abovebelow {
    padding: 0.75em 0;
	text-align: center;
}

.sister-box .side-box-abovebelow > b {
	display: block;
}

.sister-box .side-box-text > ul {
	border-top: 1px solid #aaa;
	padding: 0.75em 0;
	width: 217px;
	margin: 0 auto;
}

.sister-box .side-box-text > ul > li {
	min-height: 31px;
}

.sister-logo {
	display: inline-block;
	width: 31px;
	line-height: 31px;
	vertical-align: middle;
	text-align: center;
}

.sister-link {
	display: inline-block;
	margin-left: 4px;
	width: 182px;
	vertical-align: middle;
}

/* canonical at [[Template:Sister project/styles.css]] */
@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-v2.svg"] {
      background-color: white;
  }
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .sistersitebox img[src*="Wiktionary-logo-v2.svg"] {
      background-color: white;
	}
}