Template:Sommario/styles.css: differenze tra le versioni

Wikibooks, manuali e libri di testo liberi.
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica
altro tes
Riga 81: Riga 81:
border-top: 0;
border-top: 0;
background: #fdf8e8;
background: #fdf8e8;
}

/*** RESPONSIVE LAYOUT ***/

/* gestisce i bottoni con schermo normale */

#responsive-menu {
display: none;
}
.responsive-menu-button {
float: right;
width: 2em;
height: 2em;
text-align: center;
cursor: pointer;
color: #ffffff;
background:#333;
border-radius: 4px;
}

/* gestisce apparenza dei bottoni e del menu con schemo inferiore a 700px */

@media all and (max-width: 700px) {
#responsive-menu {
display: block;
font-weight: bold;
border-radius: 4px;
background-color: #cce6ff;
padding: 4px;
overflow: auto;
}
.index-content {
display: none;
float: none;
width: auto;
margin: 0;
}
.st-filo-content {
text-align: left;
border-radius: 0;
overflow: auto;
background-color: #e6f2ff;
border: none;
}
.st-filo-header, .st-filo-search {
display: none;
}
}
}

Versione delle 18:56, 29 apr 2020

/******************************
STILI PER IL SOMMARIO VERTICALE
*******************************/

/* struttura base del template sommario V */

.sommario-v-main {
	float: right;
	margin: 0 0 5px 5px;
	font-size: 90%;
}
.sommario-v-header {
	text-align: center; 
	border-radius: .5em .5em 0 0; 
	padding: 5px
}
.sommario-v-title {
	font-size: 150%;
	padding: 10px;
}
.sommario-v-content {
	padding: 5px
}
.sommario-v-modify {
	text-align: right;
	font-size: .7em;
}
.sommario-v-footer {
	padding: 5px; 
	border-radius: 0 0 .5em .5em;
}

/* nasconde l'indice quando si stampa la pagina */

@media print {
	.sommario-v-main {
		display: none;
	}
}

/* Classe speciale per il Sommario orizzontale */

.sommario-footer {
	padding: 5px; 
	border-radius: 0 0 .5em .5em;
	text-align: center;
}

/* sommario AZZURRO, di default */

.h-azzurro {
	border: 1px solid #b3bbff;
	background: #e6effe;
}
.c-azzurro {
	border: 1px solid #b3bbff;
	border-top: 0; 
	background: #f7f8ff;
}

/* sommario GIALLO */

.h-giallo {
	border: 1px solid #fc0;
	background: #fff8dc;
}
.c-giallo {
	border: 1px solid #fc0;
	border-top: 0; 
	background: #ffffe6;
}

/* sommario BEIGE */

.h-beige {
	border: 1px solid #d9b38c;
	background: #efe6c3;
}
.c-beige {
	border: 1px solid #d9b38c;
	border-top: 0; 
	background: #fdf8e8;
}

/*** RESPONSIVE LAYOUT ***/

/* gestisce i bottoni con schermo normale */

#responsive-menu {
	display: none;
}
.responsive-menu-button {
	float: right;
	width: 2em;
	height: 2em;
	text-align: center;
	cursor: pointer; 
	color: #ffffff;
	background:#333;
	border-radius: 4px;
}

/* gestisce apparenza dei bottoni e del menu con schemo inferiore a 700px */

@media all and (max-width: 700px) {
#responsive-menu { 
	display: block; 
	font-weight: bold;
	border-radius: 4px;
	background-color: #cce6ff;
	padding: 4px;
	overflow: auto;
}
.index-content { 
	display: none; 
	float: none; 
	width: auto; 
	margin: 0; 
}
.st-filo-content {
	text-align: left; 
	border-radius: 0;
	overflow: auto;
	background-color: #e6f2ff;
	border: none;
}
.st-filo-header, .st-filo-search { 
	display: none; 
}
}