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

no edit summary
No edit summary
No edit summary
Line 1:
/*<syntaxhighlight lang="css">*/
/* variables */
:root {
--table-header: #e7d7c7;
--table-body: #fff8ee;
}
 
.infobox {
font-size: .85em;
Line 17 ⟶ 23:
 
.infobox .infobox-buttons .button {
background: #e6d7c6;var(--table-header);
padding: 0 5px;
font-weight: bold;
Line 25 ⟶ 31:
 
.infobox tbody {
border: 1px solid #e6d7c6var(--table-header);
background: #fff8eevar(--table-body);
}
 
.infobox .infobox-subheader {
background: var(--table-header);
}
 
.infobox .infobox-image {
text-align: center;
}
 
.infobox .infobox-padding {
backgound: var(--table-body);
}
 
Line 38 ⟶ 52:
 
.infobox th:not(.infobox-header):not(.infobox-subheader):not(.infobox-nested) {
border-right: 2px solid #e7d7c7var(--table-header);
}