MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ .pi-header[data-item-name=secondary_title] { padding-top:0; }

/* remove border between label and format */ .pi-horizontal-group .pi-horizontal-group-item, .pi-smart-group-body { border-top: none !important; }

/* remove extra margin from empty border */ .pi-smart-group .pi-smart-data-label, .pi-smart-group .pi-smart-data-value { margin: 0; }

/* add border below group */ .pi-group, .pi-smart-group { border-bottom: 1px solid var(--pi-border-color); }

/* add border below image */ .pi-image { border-bottom: 1px solid var(--pi-border-color); }

/* remove border above secondary title */ .pi-header[data-item-name=secondary_title], .portable-infobox .pi-secondary-font { border-top: none; }

/* remove margin added for normal headers */ .page-content .portable-infobox h1, .page-content .portable-infobox h2, .page-content .portable-infobox h3, .page-content .portable-infobox h4, .page-content .portable-infobox h5, .page-content .portable-infobox h6 { margin: 0; }