Sjabloon:Navigatie/styles.css

Uit Wiki Raamsdonks Erfgoed
.navigatie {
	position: relative;
	clear: both;
	overflow: auto;
	margin: 1em auto -0.5em;
	padding: 2px;
	background-color: var(--background-color-neutral-subtle,#f8f9fa);
	border: 1px solid var(--border-color-base,#a2a9b1);
	text-align: center;
	font-size: 87%;
}

.navigatie-bewerken {
	margin-left: 0.5em;
}
.navigatie-bewerken .mw-ui-icon::before {
	background-size: 0.9em;
}

.navigatie-afb-links,
.navigatie-afb-rechts {
	position: absolute;
}
.navigatie-afb-rechts {
	right: 2px;
}
.navigatie-afb-groot {
	float: right;
	padding-left: 0.5em;
}

.navigatie-titel {
	background-color: #ddeef8;
	padding: 2px 5.5em;
	font-weight: bold;
}

.navigatie-inhoud {
	padding: 0.5em;
}
.navigatie-inhoud p:first-child {
	margin: 0;
}
.navigatie div[style*="background-color"],
.navigatie div[style*="background"] {
	color: inherit;
}

/* Donkere modus */
@media screen {
	html.skin-theme-clientpref-night .navigatie-titel {
		background-color: var(--background-color-interactive,#eaecf0)!important;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .navigatie-titel {
		background-color: var(--background-color-interactive,#eaecf0)!important;
	}
}

/* [[Categorie:Wikipedia:TemplateStyles-pagina's]] */