Jump to content

Module:Progress box/styles.css

Permanently protected module
From Wikipedia, the free encyclopedia
/* {{pp-template|small=yes}} */
.maint-cat-progress {
	border: 1px solid var(--border-color-base, #a2a9b1);
	border-spacing: 3px;
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	padding: 0.4em;
	font-size: 88%;
	line-height: 1.5em;
	margin: 0.5em 0;
}

.maint-cat-progress-header {
	background-color: #ddf;
	padding: 0.2em;
	font-size: 125%;
	font-weight: bold;
}

.maint-cat-progress-refresh {
	text-align: center;
}

.maint-cat-progress-subtotals {
	width: 100%;
}

.maint-cat-progress-subtotals caption {
	font-weight: bold;
	text-align: left;
}

.maint-cat-progress-subtotals .mw-collapsible-toggle {
	float: right;
}

.maint-cat-progress-subtotals th,
.maint-cat-progress-subtotals td {
	vertical-align: top;
}

.maint-cat-progress-subtotals tr td:nth-child(2) {
	text-align: right;
}

.maint-cat-progress-total-row {
	font-size: 110%;
	font-weight: bold;
	display: flex;
}

.maint-cat-progress-total-label {
	flex: 1;
}

.maint-cat-progress-total {
	padding-right: 0.2em;
}

@media (min-width: 720px) {
	.maint-cat-progress {
		width: 22em;
	}
	
	.maint-cat-progress-left {
		/* @noflip */
		float: left;
		/* @noflip */
		clear: left;
		/* @noflip */
		margin-right: 1em;
	}
	
	.maint-cat-progress-right {
		/* @noflip */
		margin-left: 1em;
		/* @noflip */
		float: right;
		/* @noflip */
		clear: right;
	}
	
	.maint-cat-progress-center {
		margin: 0.5em auto;
	}
}

@media screen {
	html.skin-theme-clientpref-night .maint-cat-progress-header {
		background-color: #003;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .maint-cat-progress-header {
		background-color: #003;
	}
}