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

Skip to content

Commit 1edd593

Browse files
doc: make signature background grey
1 parent ed0a579 commit 1edd593

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
@@ -712,13 +712,23 @@ td.field-body table.property-table tr:last-of-type td {
712712
/* top-level definitions */
713713
dl.class, dl.function {
714714
border-top: 1px solid #888;
715-
padding-top: 6px;
715+
padding-top: 0px;
716716
margin-top: 20px;
717717
}
718718

719719
dl.method, dl.classmethod, dl.staticmethod, dl.attribute {
720720
border-top: 1px solid #ccc;
721-
padding-top: 6px;
721+
padding-top: 0px;
722+
}
723+
724+
725+
dl.class > dt, dl.classmethod > dt, dl.method > dt, dl.function > dt,
726+
dl.attribute > dt, dl.staticmethod > dt {
727+
background-color: #eff3f4;
728+
padding-left: 6px;
729+
padding-right: 6px;
730+
padding-top: 2px;
731+
padding-bottom: 1px;
722732
}
723733

724734
em.property {

0 commit comments

Comments
 (0)