-
Notifications
You must be signed in to change notification settings - Fork 626
Expand file tree
/
Copy pathcustom.css
More file actions
94 lines (81 loc) · 1.58 KB
/
custom.css
File metadata and controls
94 lines (81 loc) · 1.58 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
@media screen and (max-width: 875px) {
div.body {
/* prevent horizontal overflowing on mobile */
min-width: inherit;
}
}
p.logo {
text-align: left;
}
img.logo {
height: 66px;
margin-bottom: 20px;
}
img.border {
border: 1px solid #888;
border-radius: 5px;
}
div#searchbox,
div.sphinxsidebar h3.donation {
margin-top: 20px;
}
div.body {
/* margin here is same as height + margin of logo */
margin-top: 86px;
}
div.footer-body {
/* hack for the "edit on github" container below the body */
margin-top: 30px;
margin-bottom: 20px;
text-align: center;
}
li.toctree-l1 {
margin-top: 1em;
}
/* Add a strike-through class. */
.strike {
text-decoration: line-through;
}
div.note {
background-color: #ffc;
}
div.admonition {
/* reduce default padding a bit because it's asymmetrical and ugly */
padding: 5px;
}
div.admonition p.admonition-title {
font-size: inherit;
font-weight: bold;
}
p.admonition-title:after {
content: none;
}
/* Override Alabaster theme defaults to add space between list items. */
li > p:last-child {
margin-bottom: 1em;
}
li:last-child > p:last-child {
margin-bottom: 0;
}
/* Overrides for built in contents directive */
div.contents {
margin: inherit;
padding: inherit;
background-color: inherit;
border: inherit;
}
div.contents li > p:last-child {
margin-bottom: inherit;
}
pre {
padding: 8px;
}
/* Make terms bold in definition lists for better visibility, e.g. in
users/config. */
dt {
font-weight: bold;
}
/* Extra padding after configuration options in e.g. in users/config. */
dl.option {
margin-bottom: 1em;
}