Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 341070a

Browse files
authored
Merge pull request #11421 from ImportanceOfBeingErnest/doc_greybackground-for-signatures
DOC: make signature background grey
2 parents 4299756 + 1edd593 commit 341070a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

doc/_static/mpl.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,13 +725,23 @@ td.field-body table.property-table tr:last-of-type td {
725725
/* top-level definitions */
726726
dl.class, dl.function {
727727
border-top: 1px solid #888;
728-
padding-top: 6px;
728+
padding-top: 0px;
729729
margin-top: 20px;
730730
}
731731

732732
dl.method, dl.classmethod, dl.staticmethod, dl.attribute {
733733
border-top: 1px solid #ccc;
734-
padding-top: 6px;
734+
padding-top: 0px;
735+
}
736+
737+
738+
dl.class > dt, dl.classmethod > dt, dl.method > dt, dl.function > dt,
739+
dl.attribute > dt, dl.staticmethod > dt {
740+
background-color: #eff3f4;
741+
padding-left: 6px;
742+
padding-right: 6px;
743+
padding-top: 2px;
744+
padding-bottom: 1px;
735745
}
736746

737747
em.property {

0 commit comments

Comments
 (0)