Questa pagina è protetta dallo spostamento
Questa pagina è protetta

Modulo:Navbox/styles.css

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca
/* {{Protetta}} */

.navbox {
	border: 1px solid #aaa;
	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%;
	color: var(--color-base, black);
}

.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_list a {
	white-space: nowrap;
}

html:not(.vector-feature-night-mode-enabled) .navbox_odd {
	background: #fdfdfd;
	color: var(--color-base, black);
}

html:not(.vector-feature-night-mode-enabled) .navbox_even {
	background: #f7f7f7;
	color: var(--color-base, black);
}

.navbox a.mw-selflink {
	color: var(--color-base, black);
}

.navbox_center {
	text-align: center;
}

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

/* bordo ridotto tra navbox adiacenti */
.navbox + .navbox {
	margin-top: -1px;
}

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

/* sovrascrive escamotage in images.less che fa sparire le immagini in Minerva e Monobook */
body.skin--responsive .navbox_image img {
	max-width: none !important;
}

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

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

@media screen {
  html.skin-theme-clientpref-night .navbox > tbody > tr:first-child > th {
	background: var(--background-color-interactive) !important;
  }
  
  html.skin-theme-clientpref-night .navbox th {
	color: var(--color-base) !important;
  }
  
  html.skin-theme-clientpref-night .navbox_abovebelow, html.skin-theme-clientpref-night .navbox_group{
	background: var(--background-color-interactive-subtle) !important;
  }
  
  html.skin-theme-clientpref-night .subnavbox_group{
	background: var(--background-color-neutral-subtle) !important;
  }
}

@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .navbox > tbody > tr:first-child > th {
	background: var(--background-color-interactive) !important;
  }
  
  html.skin-theme-clientpref-os .navbox th {
	color: var(--color-base) !important;
  }
  
  html.skin-theme-clientpref-os .navbox_abovebelow, html.skin-theme-clientpref-os .navbox_group{
	background: var(--background-color-interactive-subtle) !important;
  }
  
  html.skin-theme-clientpref-os .subnavbox_group{
	background: var(--background-color-neutral-subtle) !important;
  }
}