Jump to content

Template:Centralized discussion/styles.css

Permanently protected template
From Wikipedia, the free encyclopedia
/* {{pp-template}} */
.centralized-discussion {
	width: 45%;
	min-width: 10em;
	border: 1px solid var(--border-color-base, #a2a9b1);
	font-weight: bold;
	background-color: var(--background-color-base, #fff);
	color: var(--color-base, #202122);
	
	/* override .sidebar defaults back to actual defaults */
	font-size: 100%;
	padding: 0;
	line-height: inherit;
	display: block;
}

/* override .sidebar */
body.skin-minerva .centralized-discussion {
	display: block !important;
}

.centralized-discussion-center {
	float: none;
	clear: both;
	margin: 0 auto;
}

.centralized-discussion-title {
	background-color: #D6EFFC;
	padding: 3px 5px;
	font-size: larger;
}

.centralized-discussion-image {
	border-bottom: 1px solid var(--border-color-base, #a2a9b1);
	padding: 3px 5px;
}

.centralized-discussion-vps {
	background-color: #D6EFFC;
	font-size: 85%;
	padding-bottom: 0.2em;
}

.centralized-discussion-list {
	border-top: 1px solid var(--border-color-base, #a2a9b1);
	font-size: 90%;
	font-weight: normal;
	text-align: left;
}

.centralized-discussion-local {
	margin: 0 5px;
}

.centralized-discussion-meta {
	border-top: 1px solid var(--border-color-base, #a2a9b1);
	margin: 0 5px;
}

.centralized-discussion-ongoing {
	padding-bottom: 0.2em;
	line-height: 1.3em;
	border-top: 1px solid var(--border-color-base, #a2a9b1);
	font-style: italic;
	font-weight: bold;
	text-align: center;
}

.centralized-discussion-navbar {
	border-top: 1px solid var(--border-color-base, #a2a9b1);
	background-color: #D6EFFC;
	padding: 0 5px;
	font-size: 85%;
	text-align: center;
}

html.skin-theme-clientpref-night .centralized-discussion-title,
html.skin-theme-clientpref-night .centralized-discussion-vps,
html.skin-theme-clientpref-night .centralized-discussion-navbar {
	background-color: #082849;
}
html.skin-theme-clientpref-night .centralized-discussion-image {
	filter: brightness(0.6);
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .centralized-discussion-title,
	html.skin-theme-clientpref-os .centralized-discussion-vps,
	html.skin-theme-clientpref-os .centralized-discussion-navbar {
		background-color: #082849;
	}
	html.skin-theme-clientpref-os .centralized-discussion-image {
		filter: brightness(0.6);
	}
}