-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.css
More file actions
67 lines (58 loc) · 1.23 KB
/
search.css
File metadata and controls
67 lines (58 loc) · 1.23 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
65
66
67
/**
* Search pop-up and greyed out background, as well as pagefind CSS modifications.
*/
#search-background {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 10;
}
#search {
display: none;
position: fixed;
top: 50%;
left: 50%;
height: 90vh;
width: 955px;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 11;
}
#search-results {
height: calc(100% - 64px * var(--pagefind-ui-scale));
overflow: scroll;
padding: 0;
}
.pagefind-modular-list-result {
padding: calc(21px * var(--pagefind-ui-scale)) 0 calc(28px * var(--pagefind-ui-scale)) !important;
}
/** Do not display a thumbnail */
.pagefind-modular-list-thumb {
display: none;
}
.pagefind-modular-list-inner {
color: black;
margin-top: 0;
}
.pagefind-modular-list-breadcrumbs {
font-size: calc(18px * var(--pagefind-ui-scale));
font-weight: 500;
margin-top: calc(3px * var(--pagefind-ui-scale));
margin-bottom: 0;
color: #515151;
}
.pagefind-ui__search-clear {
border: none;
}
@media screen and (max-width: 1023.5px) {
#search {
width: 95vw;
}
}