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

Skip to content

Commit 1741755

Browse files
committed
DOC improved spacing between functions, classes and the rest
1 parent 57346cc commit 1741755

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

doc/_static/mpl.css

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ dt:target,
133133
background-color: #ffffee;
134134
}
135135

136-
dl.class, dl.function {
137-
border-top: 2px solid #888;
138-
}
139-
140136
dl.method, dl.attribute {
141137
border-top: 1px solid #aaa;
142138
}
@@ -520,20 +516,6 @@ table.docutils {
520516
border-color: #ccc;
521517
}
522518

523-
/* function and class description */
524-
dl.class, dl.function, dl.method, dl.attribute {
525-
border-top: 1px solid #ccc;
526-
padding-top: 10px;
527-
}
528-
.descclassname {
529-
color: #aaa;
530-
font-weight: normal;
531-
font-family: monospace;
532-
}
533-
.descname {
534-
font-family: monospace;
535-
}
536-
537519
/* module summary table */
538520
.longtable.docutils {
539521
font-size: 12px;
@@ -544,10 +526,6 @@ dl.class, dl.function, dl.method, dl.attribute {
544526
}
545527

546528
/* function and class description */
547-
dl.class, dl.function, dl.method, dl.attribute {
548-
border-top: 1px solid #ccc;
549-
padding-top: 10px;
550-
}
551529
.descclassname {
552530
color: #aaa;
553531
font-weight: normal;
@@ -573,9 +551,33 @@ dl.class em, dl.function em, dl.class big, dl.function big {
573551
font-weight: normal;
574552
font-family: monospace;
575553
}
554+
576555
dl.class dd, dl.function dd {
577556
padding: 10px;
578557
}
558+
559+
/* function and class description */
560+
dl.class, dl.function, dl.method, dl.attribute {
561+
border-top: 1px solid #ccc;
562+
padding-top: 6px;
563+
}
564+
565+
dl.class, dl.function {
566+
border-top: 1px solid #888;
567+
margin-top: 15px;
568+
}
569+
570+
571+
.descclassname {
572+
color: #aaa;
573+
font-weight: normal;
574+
font-family: monospace;
575+
}
576+
.descname {
577+
font-family: monospace;
578+
}
579+
580+
579581
.docutils.field-list th {
580582
background-color: #eee;
581583
padding: 10px;

0 commit comments

Comments
 (0)