-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsearch.css
85 lines (67 loc) · 1.44 KB
/
search.css
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.js-search.ltr {direction:ltr}
.js-search.rtl {direction:rtl}
.js-search a {text-decoration:none}
.js-search h3,
.js-search h4,
.js-search li,
.js-search nav,
.js-search ol,
.js-search p {
margin:0;
padding:0;
font-size:100%;
font-weight:normal;
font-style:normal;
list-style:none;
}
.js-search h3 {
font-size:120%;
margin:0 0 1em;
}
.js-search li {
padding:1em;
margin:0 -1em;
overflow:hidden;
}
.js-search li.ad {background:rgba(255,255,0,.15)}
.js-search h4 {
font-size:125%;
margin:-.25em 0 .25em;
}
.js-search nav {
display:block;
margin:1em 0 0;
}
.js-search-results-empty + nav {margin-top:0}
.js-search nav::after {
content:"";
display:table;
clear:both;
}
.ltr .js-search-previous {float:left}
.ltr .js-search-next {float:right}
.rtl .js-search-previous {float:right}
.rtl .js-search-next {float:left}
.ltr .js-search-image {
float:left;
margin:0 1em 0 0;
}
.rtl .js-search-image {
float:right;
margin:0 0 0 1em;
}
.js-search .img {background:rgba(0,0,0,.05)}
.js-search:not(.has-image):not(.has-excerpt) h4 {
font-size:100%;
margin:0;
}
.js-search:not(.has-image):not(.has-excerpt) li {
list-style:decimal;
overflow:visible;
padding:0;
margin:0;
}
.js-search.ltr:not(.has-image):not(.has-excerpt) li {margin:0 0 0 2em}
.js-search.rtl:not(.has-image):not(.has-excerpt) li {margin:0 2em 0 0}
.js-search-float {box-shadow:0 5px 10px rgba(0,0,0,.4)}
.js-search-float > div {padding:.5em 1em}