Jump to content

Template:Affiliates/styles.css

Permanently protected template
From Meta, a Wikimedia project coordination wiki
/* {{PP-template}} */
.affiliates {
	background-color: var(--background-color-base, #fff);
	color: var(--color-base, #202122);
	margin: .15em .5em;
	border: 1px solid var(--border-color-base, #a2a9b1);
	padding: .5em;
	width: 300px;
	font-size: 93%;
	line-height: 1.6;
}
.affiliates-ltr {
	/* @noflip */
	margin-right: 0;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
}
.affiliates-rtl {
	/* @noflip */
	margin-left: 0;
	/* @noflip */
	float: left;
	/* @noflip */
	clear: left;
}

.affiliates > hr {
	margin: .4em 0;
}

.affiliates-logo {
	text-align: center;
}

.affiliates-ltr .affiliates-info {
	/* @noflip */
	text-align: left;
}
.affiliates-rtl .affiliates-info {
	/* @noflip */
	text-align: right;
}

.affiliates-section-title {
	background-color: var(--background-color-neutral, #eaecf0);
	border: solid var(--border-color-base, #a2a9b1);
	border-width: 1px 0;
	padding: 2px 5px;
	font-weight: bold;
}
.affiliates-section > .mw-collapsible-toggle {
	margin: 2px 5px;
	font-weight: bold;
}
.affiliates-section > .mw-collapsible-toggle,
.affiliates-section-count {
	font-size: 88%;
}