Template:BestiarioSMRPG/styles.css
Da Mario Wiki, l'enciclopedia italiana.
/* Tabella principale */
.bestSMRPG {
background: #eeeeff;
border: 1px solid #afadd7;
border-spacing: 0;
margin-bottom: 2px;
}
/* Nome del nemico */
.bestSMRPG tr:first-child td:first-child {
font-size: 115%;
text-align: center;
color: white;
background: #6562af;
}
.bestSMRPG tr:first-child td:last-child {
background: #6562af;
}
/* Bordi arrotondati */
.bestSMRPG {
border-radius: 4px;
}
.bestSMRPG tr:first-child td:first-child,
.bestSMRPG tr:last-child td:first-child {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.bestSMRPG tr:first-child td:last-child,
.bestSMRPG tr:last-child td:last-child{
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
/* Padding delle caselle */
.bestSMRPG td {
padding: 0;
}
.bestSMRPG_contenuto td {
padding: 0 4px;
}
/* Sfondo alternato */
.bestSMRPG_contenuto td:nth-last-child(3),
.bestSMRPG_contenuto td:nth-last-child(4),
.bestSMRPG_contenuto td:nth-last-child(7),
.bestSMRPG_contenuto td:nth-last-child(8){
background: #f3f3ff;
}
/* Bordo tra righe */
.bestSMRPG_contenuto:not(:nth-last-child(2)) td{
border-bottom: 2px solid #d5d5eb;
}
/* Immagine */
.bestSMRPG tr:nth-child(2) td:first-child{
padding: 4px;
text-align: center;
width: 20%;
border: none;
}
/* Ultima riga */
.bestSMRPG tr:last-child {
text-align: center;
}
.bestSMRPG tr:last-child td {
background: #dedcff;
}
/* Risoluzioni basse */
@media only screen and (max-width: 550px) {
/* Larghezza maggiore */
.bestSMRPG {
margin: 0 0 3px -12px!important;
width: calc(100% + 24px)!important;
}
/* Tutto su una sola riga */
.bestSMRPG tr:first-child td:first-child {
white-space: nowrap;
}
.bestSMRPG_contenuto td {
white-space: nowrap;
}
}