summaryrefslogtreecommitdiffstats
path: root/docs/_static/custom.css
blob: f126fba72e314f0464a6d72d07ea4e787a43e1ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/** Add a counter before subsections **/
h1 {
    counter-reset: subsection;
    text-decoration: underline;
}
h2 {
    counter-reset: subsubsection;
}
h2::before {
    counter-increment: subsection;
    content: counter(subsection) ". ";
}
h3::before {
    counter-increment: subsubsection;
    content: counter(subsection) "." counter(subsubsection) ". ";
}

/** No icon for admonitions with no-icon class */
.admonition > .admonition-title, div.admonition.no-icon > .admonition-title::before {
    content: "";
}
.admonition > .admonition-title, div.admonition.no-icon > .admonition-title {
    padding-left: .6rem;
}