From 6bf3dbcaeb3792b34e12e80a1aab0d646da1cdcf Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 26 Oct 2018 12:03:01 +0100 Subject: [PATCH] Backport PR #12561: Properly css-style exceptions in the documentation --- doc/_static/mpl.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index 2a1b78452589..fd96623dff73 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -723,7 +723,7 @@ td.field-body table.property-table tr:last-of-type td { /*** function and class description ***/ /* top-level definitions */ -dl.class, dl.function, dl.data { +dl.class, dl.function, dl.data, dl.exception { border-top: 1px solid #888; padding-top: 0px; margin-top: 20px; @@ -736,7 +736,7 @@ dl.method, dl.classmethod, dl.staticmethod, dl.attribute { dl.class > dt, dl.classmethod > dt, dl.method > dt, dl.function > dt, -dl.attribute > dt, dl.staticmethod > dt, dl.data > dt { +dl.attribute > dt, dl.staticmethod > dt, dl.data > dt, dl.exception > dt { background-color: #eff3f4; padding-left: 6px; padding-right: 6px;