Template:Hidden archive top/styles.css: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Tag: Reverted
Line 37: Line 37:
}
}


@media screen and (prefers-color-scheme: dark) {
(prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .hat-header {
html.skin-theme-clientpref-os .hat-header {
background-color: #492b13;
background-color: #492b13;

Revision as of 12:43, 20 January 2025

/* {{pp-template}} */
.hidden-archive {
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	text-align: center;
	padding: 1px;
	margin: 0.2em auto 0;
	font-size:100%;
}

.hat-header {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
	background-color: #f2dfce;
	color: inherit;
}

.hat-content {
	border: solid 1px silver;
	padding: 8px;
	background-color: #fff4f2;
	color: inherit;
	text-align: left;
}

@media screen {
	html.skin-theme-clientpref-night .hat-header {
		background-color: #492b13;
	}
	
	html.skin-theme-clientpref-night .hat-content {
		background-color: #391c19;
	}
}

    (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .hat-header {
		background-color: #492b13;
	}
	
	html.skin-theme-clientpref-os .hat-content {
		background-color: #391c19;
	}
}