aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/content/page.css
blob: 57d7472b2c8dd607787c8cf825c068cd918910c1 (plain) (blame)
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
.breadcrumb-section {
    padding: 1rem;
}

i.has-icon-padding {
    padding: 0 10px 25px 0;
}

/*
 * Move padding padding from <pre> tag to hljs <code> tags so the padding
 * space is colored the same as the background of hljs <code> blocks.
 */
.content pre {
    padding: 0;
}

code.hljs {
    padding: 1.75em 2em;
}

/*
 * Show header permalink on hover.
 */
.headerlink {
    display: none;
    padding-left: 0.5em;
}

:is(h1, h2, h3, h4, h5, h6):hover > .headerlink {
    display: inline;
}