Template:Infobox-nemico-PM/styles.css

Da Super Mario Wiki.
.infoboxPM caption {
	display: table-caption!important; 
}
.infoboxPM tbody {
	overflow: hidden;
	border-radius: 4px;
}
.infoboxPM.infoboxverticale th, 
.infoboxPM.infoboxverticale td:not(.statisticheDettagliateEsterno) {
	min-width: 50%;
	max-width: 122px;
}
.infoboxPM td.statisticheDettagliateEsterno {
	background: #e2dfff;
	border-radius: 0 0 4px 4px;
	padding: 0!important;
	border-top: 1px solid #b2b0d5;
}
.infoboxPM td.statisticheDettagliateInterno {
	padding: 3px 6px 2px 8px;
	min-width: 246px!important;
}
.infoboxPM.infoboxorizzontale th, 
.infoboxPM.infoboxorizzontale td {
	width: 12.5%;
}
.infoboxPM th, .infoboxPM td {
    margin-top: 0!important;
    padding-top: 4px!important;
    padding-bottom: 4px!important;
    display: inline-block;
    box-sizing: border-box;
}
.infoboxPM th {
	padding-left: 8px!important;
}
.infoboxPM td {
	padding-right: 8px!important;
}
@media only screen and (max-width: 719px) {
	.infoboxPM.infoboxverticale th + td {
	    text-align: left;
	}
}

/* Tabella principale */
.bestPM {
	background: #eeeeff;
    border: 1px solid #afadd7;
	border-spacing: 0;
	margin-bottom: 2px;
}

/* Nome del nemico */
.bestPM tr:first-child td:first-child {
	font-size: 115%;
	text-align: center;
	color: white;
	background: #6562af;
}
.bestPM tr:first-child td:last-child {
	background: #6562af;
}

/* Bordi arrotondati */
.bestPM {
	border-radius: 4px;
}
.bestPM .bestPM_contenutolungo td:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.bestPM .bestPM_contenutolungo td:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: left;
}

/* Padding delle caselle */
.bestPM td {
    padding: 0;
}
.bestPM_contenuto td {
    padding: 0 4px;
}

/* Sfondo alternato */
.bestPM_contenuto td:nth-last-child(3),
.bestPM_contenuto td:nth-last-child(4),
.bestPM_contenuto td:nth-last-child(7),
.bestPM_contenuto td:nth-last-child(8){
    background: #f3f3ff;
}

/* Bordo tra righe */
.bestPM_contenuto:nth-child(1) td,
.bestPM_contenuto:nth-child(2) td,
.bestPM_contenuto:nth-child(3) td,
.bestPM_contenuto:nth-child(4) td,
.bestPM_contenuto:nth-child(5) td,
.bestPM_contenuto:nth-child(6) td,
.bestPM_contenuto:nth-child(7) td {
    border-bottom: 2px solid #d5d5eb;
}

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

/* Ultima riga */
.bestPM .bestPM_contenutolungo {
    text-align: center;
    line-height: 18px;
}
.bestPM .bestPM_contenutolungo td {
    background: #dedcff;
    padding: 6px 0;
}

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

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

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

}