Debian Codegraph @

doc/_static/custom.css

raw symbols SCIP
1
2 /* Items in the tables are centered by default. Which is ugly
3 Left alignment looks better
4 Tables on the left too
5 */
6 table.align-default {
7 text-align: left;
8 margin: 1em 0 1em 0;
9 }
10
11 img.align-default,
12 .figure.align-default {
13 text-align: left;
14 margin: 0.5em;
15 padding: 0.5em;
16 }
17
18 /* Adjust the tables */
19
20 table.table,
21 table.longtable {
22 border: 1px solid #DDD;
23 border-collapse: collapse;
24 }
25
26 table.table {
27 width: initial;
28 }
29
30 table.longtable {
31 width: 100%;
32 }
33
34 table.table td,
35 table.table th {
36 border-left: 1px solid #DDD;
37 }
38
39 tr.row-even td {
40 background-color: #F0F6F6;
41 }
42
43
44 /* pandas dataframe */
45
46 table.dataframe {
47 margin: 0 0 1em 0;
48 color: #000;
49 border-collapse: collapse;
50 }
51
52 table.dataframe,
53 table.dataframe tr,
54 table.dataframe th,
55 table.dataframe td {
56 border: 1px solid #DDD;
57 }
58
59 table.dataframe th,
60 table.dataframe td {
61 padding: .25em .5em;
62 }
63
64 table.dataframe thead th,
65 table.dataframe tfoot th {
66 color: #333;
67 text-align: left;
68 background-color: #fff;
69 }
70
71 table.dataframe thead th {
72 font-weight: bold;
73 font-size: 1em;
74 border-bottom: 2px solid #DDD;
75 }
76
77 table.dataframe tbody th,
78 table.dataframe thead tr th:first-child {
79 border-right: 2px solid #DDD;
80 }
81
82 table.dataframe tbody th {
83 text-align: right;
84 }
85
86 table.dataframe tfoot th {
87 font-weight: normal;
88 font-size: 1em;
89 border-top: 2px solid #DDD;
90 }
91
92 table.dataframe tbody th,
93 table.dataframe tbody td,
94 table.dataframe thead th {
95 font-size: .95em;
96 }
97
98 table.dataframe tbody tr:nth-child(odd) {
99 background: #F0F6F6;
100 }
101
102 /* Better formatting for numpydoc parameter field lists */
103
104 dl.class>dd>dl.field-list,
105 dl.method>dd>dl.field-list,
106 dl.function>dd>dl.field-list {
107 display: grid;
108 grid-template-columns: max-content auto;
109 border-left: 5px solid #eee;
110 }
111
112 dl.class>dd>dl.field-list>dt,
113 dl.method>dd>dl.field-list>dt,
114 dl.function>dd>dl.field-list>dt {
115 grid-column-start: 1;
116 padding: 0.25em;
117 background-color: rgb(238, 238, 238);
118 display: inline-table;
119 }
120
121 dl.class>dd>dl.field-list>dd,
122 dl.method>dd>dl.field-list>dd,
123 dl.function>dd>dl.field-list>dd {
124 margin-inline-start: 0em;
125 grid-column-start: 2;
126 padding: 0.25em 0.25em 0 0.25em;
127 margin-bottom: 0;
128 }
129
130 dl.class>dd>dl.field-list>dd>dl,
131 dl.method>dd>dl.field-list>dd>dl,
132 dl.function>dd>dl.field-list>dd>dl {
133 margin-left: 1em;
134 margin-bottom: 1em;
135 }
136
137 dl.class>dd>dl.field-list>dd div,
138 dl.method>dd>dl.field-list>dd div,
139 dl.function>dd>dl.field-list>dd div{
140 margin-top: 0.5em;
141 }
142
143 #sidebar>.nav {
144 padding: 0 0 2em 0;
145 }
146
147 #sidebar .nav > li {
148 padding: 0.8em 0 0 0;
149 display: list-item;
150 line-height: 1.1em;
151 }
152
153 .bs-sidenav .nav > .active > a,
154 .bs-sidenav .nav > .active:hover > a,
155 .bs-sidenav .nav > .active:focus > a {
156 color: #5D6D7E;
157 border-right: 0;
158 }