/
custom.css
63 lines (50 loc) · 1.08 KB
/
custom.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.wy-nav-content {
padding: 1em;
}
#virtualenv img {
margin-bottom: 6px;
}
/* Allow table content to wrap around */
.wy-table-responsive table th, .wy-table-responsive table td {
/* !important because RTD has conflicting stylesheets */
white-space: normal !important;
padding: 8px 6px !important;
}
.wy-table-responsive table {
width: calc(100% + 3em);
margin-left: 20px !important;
}
.rst-content table.docutils td ol {
margin-bottom: 0;
}
.rst-content table.docutils td ul {
margin-bottom: 0;
}
.rst-content table.docutils td p {
margin-bottom: 0;
}
div[class*="highlight-"] {
margin-bottom: 12px;
}
/* Tweak whitespace on the release history page */
#release-history p {
margin-bottom: 0;
margin-top: 0;
}
#release-history h3 {
margin-bottom: 6px;
}
#release-history ul {
margin-bottom: 12px;
}
#release-history ul ul {
margin-bottom: 0;
}
#release-history h2 {
margin-bottom: 12px;
}
/* Reduce whitespace on the inline-code snippets and add softer corners */
.rst-content code {
padding: 2px 3px;
border-radius: 3px;
}