Jump to content

Module:Administrators' noticeboard archives/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 23:59, 13 August 2024 (adj). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.an-archives {
	text-align: center;
	border: 1px solid #a2a9b1;
	padding: 1px;
	font-size: 88.9%; /* 8/9 */
	line-height: 1.2em;
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	clear: both;
}

.an-archives-header {
	font-weight: bold;
	font-size: 112.5%; /* 8/9 * 9/8 = 100 */
	line-height: 1.25em;
	background-color: hsl(240, 100%, 90%);
}

.an-archives-header > span {
	font-size: 85%;
}

/* borrowed the primary bits from [[Template:Plainlist/styles.css]] */
.an-archives-list {
	line-height: inherit;
	list-style: none;
	margin: 0;
	padding: 0; /* Reset Minerva default */
	display: flex;
	flex-wrap: wrap;
}

/* fits 10 per row above 720px with the various other padding involved */
.an-archives-list li {
	margin-bottom: 0;
	width: 2.2em;
	padding: 0.05em 0.15em;
}

@media (min-width: 720px) {
	.an-archives {
		float: right;
		clear: right;
		margin: 0 0 1em 1em;
		width: 26em;
	}

	.an-archives-search {
		white-space: nowrap;
	}
}

@media print {
	.an-archives {
		display: none;
	}
}

html.skin-theme-clientpref-night .an-archives-header {
	background-color: hsl(240, 100%, 10%);
}

@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .an-archives-header {
		background-color: hsl(240, 100%, 10%);
	}
}