Debian Codegraph @

src/pydata_sphinx_theme/assets/styles/pages/_search.scss

raw
1 /**
2 * /search.html page special-cases
3 */
4
5 .bd-search-container {
6 /*******************************************
7 * Search results
8 */
9 // Whitespace
10 div#search-results {
11 > h2 {
12 font-size: var(--pst-font-size-icon);
13 margin-top: 1rem;
14 }
15
16 p.search-summary {
17 color: var(--pst-color-text-muted);
18 }
19 }
20
21 ul.search {
22 margin: 0;
23 list-style: none;
24
25 li {
26 background-image: none;
27 padding: 1rem 0;
28 margin: 1rem 0;
29 border-top: 1px solid var(--pst-color-text-muted);
30
31 // First link is the page title, it should be a bit bigger
32 > a {
33 font-size: 1.2em;
34 }
35
36 div.context,
37 p.context {
38 color: var(--pst-color-text-base);
39 margin: 0.5em 0 0;
40
41 // Add a # before page section titles to make it clear they are sections
42 a::before {
43 content: "#";
44 padding-right: 0.2em;
45 color: var(--pst-color-text-muted);
46 }
47 }
48 }
49 }
50 }