MediaWiki:Minerva.less/infobox.less: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Remove some unused classes)
No edit summary
Line 10: Line 10:
.infobox {
.infobox {
font-size: 85%;
font-size: 85%;
background-color: @infobox-background;
border: 1px solid @infobox-border-color;
box-shadow: @box-shadow;
table-layout: fixed;
table-layout: fixed;
border-collapse: separate;
// override minerva's mobile-friendlyness
// override minerva's mobile-friendlyness
Line 24: Line 22:
background: none; // bg in > 720px
background: none; // bg in > 720px
}
}
}

.infobox-header {
color: @white;
font-size: 1.15em;
background: @infobox-header-color;
padding: .5em 0;
text-align: center;
}
}


Line 43: Line 33:
color: var(--link-color);
color: var(--link-color);
}
}
}

th:not(.infobox-nested):not(.infobox-subheader):not(.infobox-header) {
text-align: right;
vertical-align: top;
border-right: 2px solid @infobox-subheader-color;
padding: 0.2em 0.5em;
}
}