MediaWiki:Common.css: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
aggiorno stili del template Avviso per riscrittura con flexbox
Riga 145:
 
/***** Stili del template Avviso */
table.avviso {
margin: 5px 10%; /* Non si sovrappone ad altri elementi */
border-collapse: collapse;
background: #fbfbfb;
border: 1px solid #aaa;
display: flex;
align-items: center;
box-sizing: border-box; /* Compatibilità con parametro 'stile' per template che si aspettano una tabella */
padding-left: 0.5em;
}
.avviso-testo { /* Corpo del messaggio */
Riga 156 ⟶ 159:
}
.avviso-immagine { /* Stile dell'immagine a sinistra */
padding: 2px 0 2px 0.5em;
text-align: center;
}
Riga 163 ⟶ 166:
text-align: center;
}
table.avviso-informazioni {
border-left: 10px solid #1e90ff; /* Blu */
}
table.avviso-cancella,
table.avviso-importante {
border-left: 10px solid #b22222; /* Rosso */
}
table.avviso-contenuto {
border-left: 10px solid #f28500; /* Arancio */
}
table.avviso-stile {
border-left: 10px solid #f4c430; /* Giallo */
}
table.avviso-statico {
border-left: 10px solid limegreen; /* Verde */
}
table.avviso-struttura {
border-left: 10px solid #9932cc; /* Viola */
}
table.avviso-generico {
border-left: 10px solid #bba; /* Grigio */
}