Nothing Special   »   [go: up one dir, main page]

Và al contegnud

Mòdul:Navbox/styles.css

De Wikipedia
.navbox {
	border: 1px solid var(--border-color-base, #a2a9b1);
	clear: both;
	margin: auto;
	padding: 2px;
	width: 100%;
}

.navbox th {
	padding-left: 1em;
	padding-right: 1em;
	text-align: center;
}

.navbox > tbody > tr:first-child > th {
	background: #ccf;
	font-size: 90%;
	width: 100%;
}

.navbox_navbar {
	float: left;
	margin: 0;
	padding: 0 10px 0 0;
	text-align: left;
	width: 6em;
}

.navbox_title {
	font-size: 110%;
}

.navbox_abovebelow {
	background: #ddf;
	font-size: 90%;
	font-weight: normal;
}

.navbox_group {
	background: #ddf;
	font-size: 90%;
	padding: 0 10px;
	white-space: nowrap;
}

.navbox_list {
	font-size: 90%;
	width: 100%;
}

.navbox_odd {
	background: #fdfdfd;
}

.navbox_even {
	background: #f7f7f7;
}

.navbox_center {
	text-align: center;
}

.navbox .navbox_image {
	padding-left: 7px;
	vertical-align: middle;
	width: 0;
}

.navbox + .navbox {
	margin-top: -1px;    /* bordo ridotto tra navbox adiacenti (non funziona in IE6, ma non fa danni) */
}

.navbox .mw-collapsible-toggle {
	font-weight: normal;
	text-align: right;
	width: 7em;
}

.subnavbox {
	margin: -3px;
	width: 100%;
}

.subnavbox_group {
	background: #ddf;
	padding: 0 10px;
}

@media screen {
	html.skin-theme-clientpref-night .navbox_even {
		background: #202122;
	}
	
	html.skin-theme-clientpref-night .navbox_odd {
		background: #171819;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .navbox_even {
		background: #202122;
	}
	
	html.skin-theme-clientpref-os .navbox_odd {
		background: #171819;
	}
}