From 1edd593c08cf82666d1e2e6499f6da2dbb42ad44 Mon Sep 17 00:00:00 2001 From: ImportanceOfBeingErnest Date: Tue, 12 Jun 2018 12:38:58 +0200 Subject: [PATCH] doc: make signature background grey --- doc/_static/mpl.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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 {