Template:Storia della letteratura italiana/styles.css: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
responsive layout - parte 2 |
ultimi ritocchi |
||
Riga 5: | Riga 5: | ||
*********************************************** |
*********************************************** |
||
[[Categoria:Fogli di stile TemplateStyles]] |
|||
***********************************************/ |
***********************************************/ |
||
Riga 13: | Riga 13: | ||
font-size: .9em; |
font-size: .9em; |
||
background: #f7f8ff; |
background: #f7f8ff; |
||
border: 1px solid |
border: 1px solid #b3b3b3; |
||
width: 280px; |
width: 280px; |
||
border-radius: .7em; |
/* border-radius: .7em; */ |
||
text-align: left; |
text-align: left; |
||
margin: 5px; |
margin: 5px; |
||
Riga 25: | Riga 25: | ||
text-align: center; |
text-align: center; |
||
line-height: 1em; |
line-height: 1em; |
||
padding: .5em 0; |
|||
} |
} |
||
.lettit-menu { |
.lettit-menu { |
||
Riga 63: | Riga 64: | ||
font-weight: bold; |
font-weight: bold; |
||
border-radius: 4px; |
border-radius: 4px; |
||
background-color: #cce6ff; |
/*background-color: #cce6ff;*/ |
||
⚫ | |||
padding: 4px; |
padding: 4px; |
||
overflow: auto; |
overflow: auto; |
||
Riga 69: | Riga 71: | ||
.index-content { |
.index-content { |
||
display: none; |
display: none; |
||
⚫ | |||
float: none; |
float: none; |
||
width: auto; |
width: auto; |
||
Riga 75: | Riga 78: | ||
.lettit-main { |
.lettit-main { |
||
text-align: left; |
text-align: left; |
||
⚫ | |||
overflow: auto; |
overflow: auto; |
||
⚫ | |||
border: none; |
border: none; |
||
} |
} |
||
.lettit-header, .lettit-menu, .lettit-modify, .lettit-search { |
.lettit-header, .lettit-menu, .lettit-modify, .lettit-search { |
||
display: none; |
|||
} |
|||
.index-content > hr { |
|||
display: none; |
display: none; |
||
} |
} |
Versione attuale delle 16:07, 22 nov 2020
/**********************************************
STILI PER IL SOMMARIO DI STORIA DELLA
LETTERATURA ITALIANA
***********************************************
[[Categoria:Fogli di stile TemplateStyles]]
***********************************************/
/* STILI DI BASE */
.index-content {
font-size: .9em;
background: #f7f8ff;
border: 1px solid #b3b3b3;
width: 280px;
/* border-radius: .7em; */
text-align: left;
margin: 5px;
padding: 5px;
float: right;
}
.lettit-header {
font-size: 200%;
text-align: center;
line-height: 1em;
padding: .5em 0;
}
.lettit-menu {
text-align: center;
margin: 1.5em;
}
.lettit-modify {
text-align: right;
font-size: x-small;
margin-top: 1em;
}
.lettit-search {
font-size:90%;
padding:5px
}
/*** 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;*/
background-color: #ccd2ff;
padding: 4px;
overflow: auto;
}
.index-content {
display: none;
border: 0;
float: none;
width: auto;
margin: 0;
}
.lettit-main {
text-align: left;
overflow: auto;
border: none;
}
.lettit-header, .lettit-menu, .lettit-modify, .lettit-search {
display: none;
}
.index-content > hr {
display: none;
}
}