Skip to content

Commit b681bed

Browse files
committed
Update configuration and CSS
1 parent c3be2b9 commit b681bed

File tree

2 files changed

+37
-5
lines changed

2 files changed

+37
-5
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ sphinx:
2323
# fail_on_warning: true
2424

2525
# Optionally build your docs in additional formats such as PDF and ePub
26-
# formats:
27-
# - pdf
28-
# - epub
26+
formats:
27+
- pdf
28+
- epub
2929

3030
# Optional but recommended, declare the Python requirements required
3131
# to build your documentation

_static/custom.css

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22
color: inherit;
33
font-size: 85%;
44
border: none;
5-
background: #F0F0F0;
6-
padding: 2px 3px 1px;
5+
background: #E8E8E8;
6+
padding: 2px 3px;
7+
border-radius: .33em;
8+
}
9+
10+
.toctree-l1 > ul {
11+
margin-top: 3px ! important;
12+
}
13+
14+
.toctree-l2 > ul {
15+
margin-top: 0 ! important;
16+
margin-bottom: 3px ! important;
17+
}
18+
19+
ul.simple > li {
20+
margin-bottom: 10px;
21+
}
22+
23+
div.tight > ul.simple > li {
24+
margin-bottom: 0;
25+
}
26+
27+
kbd {
28+
display: inline-block;
29+
padding: 3px 5px ! important;
30+
font-size: 80% ! important;
31+
line-height: 10px ! important;
32+
color: #444d56 ! important;
33+
vertical-align: middle ! important;
34+
background-color: #fafbfc ! important;
35+
border: solid 1.5px #c6cbd1 ! important;
36+
border-bottom-color: #959da5 ! important;
37+
border-radius: 3px ! important;
38+
box-shadow: inset -.5px -1px 0 #959da5 ! important;
739
}

0 commit comments

Comments
 (0)