Skip to content

Commit e9ddc82

Browse files
authored
Update docs css
1 parent 87a4457 commit e9ddc82

File tree

1 file changed

+16
-93
lines changed

1 file changed

+16
-93
lines changed

docs/_static/css/custom.css

Lines changed: 16 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,35 @@
1-
/* SIGNATURE */
2-
.sig-param {
3-
color: #505050;
4-
font-weight: normal;
1+
.highlight {
2+
background-color: #F6F6F6;
53
}
64

7-
.sig-paren {
8-
color: #505050;
9-
font-weight: bold;
10-
}
11-
12-
.site-nav-tree {
13-
overflow-y: auto;
14-
position: sticky;
15-
align-self: start;
16-
max-height: 75vh;
17-
top: 15vh
18-
}
19-
20-
.site-nav-tree > .caption {
21-
margin-bottom: .5rem;
22-
}
23-
24-
.site-nav-tree > ul {
25-
margin-left: 1rem;
26-
}
27-
28-
.site-nav-tree > p {
29-
margin-bottom: .75rem;
30-
}
31-
32-
div[role=search] {
33-
position: sticky;
34-
top: 6vh;
35-
}
36-
37-
#logo {
38-
width: 19rem;
39-
}
40-
41-
#sidebar-logo {
42-
width: 12rem;
43-
padding-bottom: 2rem;
44-
position: sticky;
45-
top: 2vh;
46-
}
47-
48-
.header {
49-
background-color: #19171C;
50-
}
51-
52-
a {
53-
color: #473fc7;
54-
}
55-
56-
dl:not(.docutils) dt {
57-
background: #eaeaea;
58-
color: #505050;
59-
border-left: 2px #88C2FC solid;
60-
border-top: none;
61-
font-size: 1.5rem;
62-
}
63-
64-
dl:not(.docutils) dt > .property {
65-
font-weight: normal;
66-
font-style: italic;
67-
}
68-
69-
dl:not(.docutils) dt > .sig-prename {
70-
font-weight: normal;
71-
}
72-
73-
74-
dl:not(.docutils) dl dt {
75-
border: none;
76-
color: #5f5f5f;
5+
.class > .sig-object {
6+
border-left: #0e84b5 solid 3px;
7+
border-radius: 0 0 0 3px;
778
}
789

7910
.py-attribute-table {
8011
display: flex;
8112
flex-wrap: wrap;
82-
background: #eaeaea;
83-
padding-left: 1rem;
84-
border-left: 2px #88C2FC solid;
85-
margin-bottom: -0.6rem;
86-
}
87-
88-
.py-attribute-table-column {
89-
flex: .5;
13+
background-color: var(--color-api-background);
14+
margin-bottom: -1rem;
15+
border-radius: 3px 3px 0 0;
16+
border-left: #0e84b5 solid 3px;
9017
}
9118

92-
.py-attribute-table-column > ul {
93-
list-style: none;
19+
.py-attribute-table-entry {
20+
list-style: None;
9421
}
9522

96-
.py-attribute-table-badge {
97-
padding-right: .5rem;
23+
.py-attribute-table-column {
24+
flex: .5;
9825
}
9926

10027
.py-attribute-table-column > span {
10128
font-weight: bold;
29+
margin-left: 1rem;
10230
}
10331

104-
.attr-table-title {
105-
flex: 0 0 100%;
106-
padding-bottom: 1rem;
107-
}
108-
109-
.attr-table-title > .attr-table-title-qualified {
32+
.py-attribute-table-badge {
11033
font-weight: bold;
34+
margin-right: .5rem;
11135
}
112-
/*# sourceMappingURL=custom.css.map */

0 commit comments

Comments
 (0)