Debian Codegraph @

src/pydata_sphinx_theme/assets/styles/content/_toctree.scss

raw
1 /**
2 * Style the toctree component in pages (avoid modifying the navbars)
3 */
4 .toctree-wrapper {
5 p.caption {
6 font-size: 1.5em;
7 margin-bottom: 0;
8 }
9
10 & > ul {
11 padding-left: 0;
12 }
13
14 li[class^="toctree-l"] {
15 list-style: none;
16 margin-bottom: 0.2em;
17
18 & > a {
19 list-style: none;
20 font-size: 1.1em;
21 }
22
23 & > ul {
24 list-style: none;
25 padding-inline-start: 1.5em;
26 }
27 }
28
29 // slightly bigger font for l1
30 .toctree-l1 > a {
31 font-size: 1.3em;
32 }
33 }
34
35 div.topic.contents, // Docutils <= 0.17
36 nav.contents // Docutils >= 0.18
37 {
38 // Style similarly to toctree
39 ul.simple {
40 list-style: none;
41 padding-left: 0;
42 }
43 }