[go: nahoru, domu]

Jump to content

Module:Sister project links/styles.css

Permanently protected module
From Wikipedia, the free encyclopedia
/* {{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;
	}
}