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

Skip to content

Commit 271836d

Browse files
committed
update CSS of signatures
1 parent c3d012b commit 271836d

File tree

1 file changed

+36
-19
lines changed

1 file changed

+36
-19
lines changed

doc/_static/mpl.css

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ dt:target,
142142
background-color: #ffffee;
143143
}
144144

145-
dl.method, dl.attribute {
146-
border-top: 1px solid #aaa;
147-
}
148-
149145
dl.glossary dt {
150146
font-weight: bold;
151147
font-size: 1.1em;
@@ -677,38 +673,59 @@ table.docutils td {
677673
}
678674

679675

680-
dl.class em, dl.function em, dl.class big, dl.function big {
681-
font-weight: normal;
682-
font-family: monospace;
683-
}
684-
685-
dl.class dd, dl.function dd {
686-
padding: 10px;
676+
/*** function and class description ***/
677+
/* top-level definitions */
678+
dl.class, dl.function {
679+
border-top: 1px solid #888;
680+
padding-top: 6px;
681+
margin-top: 20px;
687682
}
688683

689-
/* function and class description */
690-
dl.function, dl.method, dl.attribute {
684+
dl.method, dl.classmethod, dl.staticmethod, dl.attribute {
691685
border-top: 1px solid #ccc;
692686
padding-top: 6px;
693687
}
694688

695-
dl.function {
696-
border-top: 1px solid #888;
697-
margin-top: 15px;
689+
em.property {
690+
margin-right: 4px;
698691
}
699692

700-
dl.class {
701-
padding-top: 6px;
702-
margin-top: 15px;
693+
.sig-paren {
694+
font-size: 14px;
695+
}
696+
697+
.sig-paren ~ em {
698+
font-weight: normal;
699+
font-family: monospace;
700+
font-size: 14px;
701+
}
702+
703+
dl.class big, dl.function big {
704+
font-weight: normal;
705+
font-family: monospace;
706+
}
707+
708+
dl.class dd, dl.function dd {
709+
padding: 10px;
710+
}
711+
712+
dl.class > dd {
713+
padding: 10px;
714+
padding-left: 35px;
715+
margin-left: 0px;
716+
border-left: 5px solid #f8f8f8;
703717
}
704718

705719
.descclassname {
706720
color: #aaa;
707721
font-weight: normal;
708722
font-family: monospace;
723+
font-size: 14px;
709724
}
725+
710726
.descname {
711727
font-family: monospace;
728+
font-size: 14px;
712729
}
713730

714731
table.docutils.field-list {

0 commit comments

Comments
 (0)