-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.css
More file actions
95 lines (78 loc) · 1.46 KB
/
Copy pathsearch.css
File metadata and controls
95 lines (78 loc) · 1.46 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#search-container {
margin-bottom: 2em;
}
#search-input {
width: 100%;
padding: 0.5em;
font-size: 1em;
border: 1px solid #ddd;
border-radius: 3px;
margin-bottom: 1em;
}
#search-input:focus {
border-color: #2980b9;
box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}
/* Pointer focus only — see the note in _sass/base/_forms.scss. Removing the
outline on plain :focus also removed the keyboard focus ring, because this
selector outranks the global input:focus-visible rule. */
#search-input:focus:not(:focus-visible) {
outline: none;
}
.search-status {
margin: 0 0 1em;
color: #767676;
font-size: 0.9em;
}
.result-meta {
display: flex;
gap: 0.75em;
align-items: baseline;
}
.result-snippet {
line-height: 1.6;
}
.result-tags {
margin: 0.4em 0 0;
color: #767676;
font-size: 0.85em;
}
.result-tags:empty {
display: none;
}
.search-result {
margin-bottom: 2em;
padding-bottom: 1em;
border-bottom: 1px solid #ddd;
}
.search-result:last-child {
border-bottom: none;
}
.search-result h3 {
margin: 0 0 0.5em;
}
.search-result h3 a {
color: #333;
text-decoration: none;
}
.search-result h3 a:hover {
color: #2980b9;
}
.post-date {
color: #767676; /* WCAG AA on white */
font-size: 0.9em;
}
.post-category {
color: #767676; /* WCAG AA on white */
font-size: 0.9em;
}
.search-result p {
margin: 0.5em 0;
color: #333;
}
mark {
background-color: #fff59d;
padding: 0 2px;
font-weight: bold;
color: #333;
}