Template:Lista-dei-mostri-SMRPG/styles.css

Da Mario Wiki, l'enciclopedia italiana.
/* Tabella principale */
.bestSMRPGr {
	background: #fff6f6;
    border: 1px solid #b7b7b7;
	border-spacing: 0;
	margin-bottom: 2px;
	padding-bottom: 1px;
	border-radius: 4px;
}

/* Nome del nemico */
.bestSMRPGr tr:first-child td:first-child {
	font-size: 115%;
	text-align: center;
	color: white;
	background: #CD4747;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom: 0;
}
.bestSMRPGr tr:first-child td:last-child {
	background: #CD4747;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: 0;
}

/* Padding delle caselle */
.bestSMRPGr td {
    padding: 0;
}
.bestSMRPGr_contenuto td {
    padding: 0 4px;
}

/* Sfondo alternato */
.bestSMRPGr tr:nth-child(odd) td {
    background: #fffafa;
}

/* Bordo tra le righe */
.bestSMRPGr tr:not(:last-child) td {
	border-bottom: 1px solid #ede5e5;
}

/* Immagine */
.bestSMRPGr tr:nth-child(2) td:first-child{
    padding: 4px;
    text-align: center;
    width: 20%;
    border: none;
}

/* Non andiamo a capo nel template orizzontale */
.infobox-wide .bestSMRPGr_contenuto br {
    display: none;
}

/* Risoluzioni basse */
@media only screen and (max-width: 550px) {

    /* Larghezza maggiore */
    .bestSMRPGr {
        margin: 0 0 3px -12px!important;
        width: calc(100% + 24px)!important;
    }

    /* Tutto su una sola riga  */
    .bestSMRPGr tr:first-child td:first-child {
        white-space: nowrap;
    }
    .bestSMRPGr_contenuto td {
        white-space: nowrap;
    }

}




/* Remake */

/* Intestazione profilo e chiaroveggenza */

.bestSMRPGr_intestazione {
	text-align: center; 
	background: #CD4747;
	color: #fff;
}
.bestSMRPGg_testolungo {
	text-align: center;
	line-height: 19px;
	padding: 4px 0;
}