diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index 5a9acd280881..417bff8853e0 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -712,13 +712,23 @@ td.field-body table.property-table tr:last-of-type td { /* top-level definitions */ dl.class, dl.function { border-top: 1px solid #888; - padding-top: 6px; + padding-top: 0px; margin-top: 20px; } dl.method, dl.classmethod, dl.staticmethod, dl.attribute { border-top: 1px solid #ccc; - padding-top: 6px; + padding-top: 0px; +} + + +dl.class > dt, dl.classmethod > dt, dl.method > dt, dl.function > dt, +dl.attribute > dt, dl.staticmethod > dt { + background-color: #eff3f4; + padding-left: 6px; + padding-right: 6px; + padding-top: 2px; + padding-bottom: 1px; } em.property {