42 lines
887 B
CSS
42 lines
887 B
CSS
.searchbox input {
|
|
padding: 4px 10px;
|
|
width: 100%;
|
|
color: var(--primary);
|
|
font-weight: bold;
|
|
border: 2px solid var(--tertiary);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.searchResults li {
|
|
list-style: none;
|
|
border-radius: var(--radius);
|
|
padding: 10px 15px;
|
|
position: relative;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: var(--entry);
|
|
transition: transform .25s ease;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.searchResults {
|
|
margin: var(--content-gap) 0;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.searchResults li:hover,
|
|
.searchResults li:focus-within {
|
|
transform: translateY(-2px);
|
|
border-color: var(--tertiary);
|
|
}
|
|
|
|
.searchResults li .entry-link:focus {
|
|
outline: 2px solid var(--secondary);
|
|
outline-offset: -2px;
|
|
}
|