File: custom.css

package info (click to toggle)
python-qpageview 0.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 780 kB
  • sloc: python: 5,215; makefile: 22
file content (48 lines) | stat: -rw-r--r-- 952 bytes parent folder | download | duplicates (2)
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
/*
 * Some css adaptions to the alabaster theme for parce.info.
 */

/* make font size in source code view smaller */
div.body > div.highlight {
    font-size: 14px;
}

/* add extra spacing above class and function definitions */
@media screen {
    div.section > dl.class {
        margin-top: 40px;
    }

    div.section > dl.function {
        margin-top: 30px;
    }
}

/* decrease font size in sidebar */
div.sphinxsidebar ul li.toctree-l1 > a {
    font-size: 100%;
}

div.sphinxsidebar ul li.toctree-l2 > a {
    font-size: 90%;
}

/* make sidebar contents scrollable */
div.sphinxsidebar {
    max-height: 100%;
    overflow-y: auto;
}

/* hide the image but show a home link. */
@media screen and (max-width: 875px) {
    div.sphinxsidebar p.logo {
        display: unset;
    }
    div.sphinxsidebar p.logo ::after {
        content: "[home]";
        font-size: 20px;
    }
    div.sphinxsidebar p.logo img {
        display: none;
    }
}