Repository navigation
Expand file tree
/
Copy pathstyles.module.css
More file actions
64 lines (55 loc) · 1.93 KB
/
Copy pathstyles.module.css
File metadata and controls
64 lines (55 loc) · 1.93 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.action {
margin-block: -0.5rem 1.5rem;
}
.action button {
min-height: 44px;
white-space: normal;
}
.action button:focus-visible {
outline: 2px solid var(--ifm-color-primary-darkest);
outline-offset: 3px;
}
.panel {
--docsearch-font-family: var(--ifm-font-family-base);
--docsearch-text-color: var(--ifm-font-color-base);
--docsearch-primary-color: var(--ifm-color-primary-darkest);
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-muted-color: var(--ifm-color-content-secondary);
/* Infima's page background can be transparent; the mobile overlay must be solid. */
--docsearch-sidepanel-background: var(--ifm-background-surface-color);
--docsearch-sidepanel-background-dark: var(--ifm-background-surface-color);
--docsearch-sidepanel-text-base: var(--ifm-font-color-base);
--docsearch-sidepanel-text-muted: var(--ifm-color-content-secondary);
--docsearch-sidepanel-primary: var(--ifm-color-primary-darkest);
--docsearch-sidepanel-primary-dark: var(--ifm-color-primary-darker);
--docsearch-sidepanel-white: var(--ifm-background-surface-color);
--docsearch-sidepanel-border: var(--ifm-color-emphasis-300);
}
[data-theme='dark'] .panel {
--docsearch-primary-color: var(--ifm-color-primary);
--docsearch-sidepanel-primary: var(--ifm-color-primary);
}
/* Brand the heading; leave the linked Algolia attribution in the footer intact. */
.panel :global(.DocSearch-Sidepanel-Header-TitleIcon) {
display: none;
}
.panel :global(.DocSearch-Sidepanel-Title) {
display: flex;
align-items: center;
gap: 0.375rem;
}
.panel :global(.DocSearch-Sidepanel-Title)::before {
content: '';
flex: 0 0 1.75rem;
width: 1.75rem;
height: 1.75rem;
background: url('@site/static/img/logo.svg') center / contain no-repeat;
}
.panel :global(.DocSearch-Markdown-Content) {
font-size: 1rem;
line-height: 1.5;
overflow-wrap: anywhere;
}
.panel :global(.DocSearch-AskAiScreen-Query) {
overflow-wrap: anywhere;
}