跳转到内容

Template:Non-free use rationale/styles.css

维基百科,自由的百科全书
.rationale {
	width: 100%;
	font-size: 16px;
}

.rationale th,
.rationale td {
	padding: 0.5em;
	box-sizing: border-box;
}

.rationale .head th {
	text-align: center;
}

.rationale .body th {
	width: 15%;
	background-color: #ccf;
	text-align: right;
	color: #000;
}

.rationale .head div:not(.heading),
.rationale .body {
	font-size: 0.875em;
}

.rationale .foot {
	display: none;
}

.rationale .hint {
	font-size: 0.875em;
}

.rationale .spanning {
	background-color: #d8e0ff;
	vertical-align: middle;
	color: #000;
}

@media only screen and (max-width: 600px) {
	.rationale,
	.rationale tbody,
	.rationale tr,
	.rationale th,
	.rationale td {
		display: block;
	}

	.rationale .body th {
		width: 100%;
		text-align: center;
	}
}

.nfur {
	background-color: var(--background-color-neutral-subtle,#f8f9fa);
	border-collapse: separate; /* explicit setting of user agent styles */
	border-spacing: 2px;
	border: 1px solid var(--border-color-base,#a2a9b1);
	box-sizing: border-box;
	padding: 5px;
	width: 100%;
	color: inherit;
}

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

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

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

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

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

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

.nfur td {
	padding: 0 2px;
}

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

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

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

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

.nfur-error {
	color: var(--color-error, #ff4242);
	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;
	}
}


@media screen {
    html.skin-theme-clientpref-night .rationale .body th,
	html.skin-theme-clientpref-night .rationale .spanning,
	html.skin-theme-clientpref-night .nfur caption > div,
	html.skin-theme-clientpref-night .nfur-2 caption > div,
	html.skin-theme-clientpref-night .nfmd caption > div,
	html.skin-theme-clientpref-night .nfmr caption > div,
	html.skin-theme-clientpref-night .nfur th,
	html.skin-theme-clientpref-night .nfmd th,
	html.skin-theme-clientpref-night .nfmr th {
		filter: invert(1) hue-rotate(180deg);
	}
}


@media screen and ( prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .rationale .body th,
	html.skin-theme-clientpref-os .rationale .spanning,
	html.skin-theme-clientpref-os .nfur caption > div,
	html.skin-theme-clientpref-os .nfur-2 caption > div,
	html.skin-theme-clientpref-os .nfmd caption > div,
	html.skin-theme-clientpref-os .nfmr caption > div,
	html.skin-theme-clientpref-os .nfur th,
	html.skin-theme-clientpref-os .nfmd th,
	html.skin-theme-clientpref-os .nfmr th {
		filter: invert(1) hue-rotate(180deg);
	}
}