Jump to content

Template:Non-free use rationale/styles.css

Permanently protected template
From Wikipedia, the free encyclopedia
/* {{pp-template|small=yes}} */
.nfur {
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	border-collapse: separate; /* explicit setting of user agent styles */
	border-spacing: 2px;
	border: 1px solid #a2a9b1;
	box-sizing: border-box;
	font-size: 95%;
	padding: 5px;
	width: 100%;
	
	/* Keep the offsets in place from when the caption was still a th */
	border-top: 0;
	padding-top: 0;
}

/* Simulate the tableheading cell (5px padding+ 2px border spacing) */
.nfur caption {
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	border: 1px solid #a2a9b1;
	border-bottom: none;
	box-sizing: border-box;
	padding: 7px 7px 0 7px;
}

.nfur caption > div {
	background-color: #d8e0ff;
	color: #202122;
	font-size: 120%;
	font-weight: bold;
	padding: 2px 0;
}

.nfur-2 caption > div {
	background-color: #ccf;
	color: #202122;
	font-size: 100%;
}

.nfmd caption > div {
	background-color: #B7CEFF;
	color: #202122;
}

.nfmr caption > div {
	background-color: pink;
}

.nfur-2 p {
	margin: 2px 0;
}

.nfur td {
	padding: 0 2px;
}

.nfur th {
	background: #ccf;
	padding: 2px .4em;
	text-align: right;
}

.nfmd th {
	background: #DFEFFF;
	color: #202122;
}

.nfmr th {
	background: #D8BFD8;
	color: #202122;
}

.nfur-bad-article {
	font-style: italic;
}

.nfur-error {
	color: red;
	font-weight: bold;
}

.nfur-exact {
	font-size: 90%;
}

.nfur-fairuse,
.nfur-nonfree {
	display: none;
}

@media (min-width: 720px) {
	.nfur th {
		width: 15%;
	}
	
	.nfur-2 th {
		width: 15em;
	}
}

html.skin-theme-clientpref-night .nfur caption > div {
	background-color: #202040;
	color: inherit;
}

html.skin-theme-clientpref-night .nfur-2 caption > div,
html.skin-theme-clientpref-night .nfur th {
	background-color: #2a2a5c;
	color: inherit;
}

html.skin-theme-clientpref-night .nfmd th {
	background: #003061;
}

html.skin-theme-clientpref-night .nfmd caption > div {
	background: #003CBD;
	color: inherit;
}

html.skin-theme-clientpref-night .nfmr caption > div {
	background-color: #700000;
	color: inherit;
}

html.skin-theme-clientpref-night .nfmr th {
	background: #553555;
	color: inherit;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .nfur caption > div {
		background-color: #202040;
		color: inherit;
	}
	
	html.skin-theme-clientpref-os .nfur-2 caption > div,
	html.skin-theme-clientpref-os .nfur th {
		background-color: #2a2a5c;
		color: inherit;
	}
	
	html.skin-theme-clientpref-os .nfmd th {
		background: #003061;
	}
	
	html.skin-theme-clientpref-os .nfmd caption > div {
		background: #003CBD;
		color: inherit;
	}
	
	html.skin-theme-clientpref-os .nfmr caption > div {
		background-color: #700000;
		color: inherit;
	}
	
	html.skin-theme-clientpref-os .nfmr th {
		background: #553555;
		color: inherit;
	}
}