Jump to content

Template:ARCA archive navbox/styles.css

From Wikipedia, the free encyclopedia
.arca-archive-navbox {
	margin: 1em 0 1em 1em;
	background-color: var(--background-color-base, #fff);
}

.arca-archive-navbox-outer-div {
	float: right;
	clear: right;
	text-align: right;
}

.arca-archive-navbox > table {
	border: 1px solid #a2a9b1;
	font-size:85%;
	line-height:1.2em;
	margin:0;
	width:auto;
	text-align:center;
}

.arca-archive-navbox-header {
	background-color: lavender;
	font-size: 111%;
	line-height: 1.25em;
}

.arca-archive-navbox-header > div {
	display: flex;
}

.arca-archive-navbox-title {
	padding-left: 3em;
	text-align: center;
	flex: 1
}

.arca-archive-navbox-navbar {
	padding: 0 0.5em;
}

@media screen and (min-width: 1000px) {
	.arca-archive-navbox-outer-div-desktop {
		float: right;
		clear: right;
		text-align: right;
	}
	.arca-archive-navbox-outer-div-mobile {
		display:none;
	}
}

@media screen and (max-width: 1000px) {
	.arca-archive-navbox-outer-div-desktop {
		display:none;
	}
	.arca-archive-navbox-table {
		margin:auto;
	}
}

@media screen {
	html.skin-theme-clientpref-night .arca-archive-navbox-header {
		background-color: hsl(240, 67%, 10%);
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .arca-archive-navbox-header {
		background-color: hsl(240, 67%, 10%);
	}
}