User:Merds/CSS/Infobox.css: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 26: Line 26:
.infobox tbody {
.infobox tbody {
border: 1px solid #e6d7c6;
border: 1px solid #e6d7c6;
background: #fff8ee;
}
.infobox tr > td {
padding: 3px 10px;
}
}


.infobox * > tr:nth-child(odd) {
.infobox .infobox-image {
background: #e5d7c4;
text-align: center;
}
}


.infobox * > tr:nth-child(even) {
.infobox tr > td:not(.infobox-padding) {
background: #fff8ee;
padding: 3px 10px;
}
}


.infobox .infobox-image {
.infobox th:not(.infobox-header):not(.infobox-subheader):not(.infobox-nested) {
text-align: center;
border-right: 2px solid #e7d7c7;
}
}