2020-12-18 07:15:10 +01:00
|
|
|
#searchbox input {
|
2020-12-06 13:49:50 +01:00
|
|
|
padding: 4px 10px;
|
|
|
|
width: 100%;
|
|
|
|
color: var(--primary);
|
|
|
|
font-weight: bold;
|
|
|
|
border: 2px solid var(--tertiary);
|
|
|
|
border-radius: var(--radius);
|
|
|
|
}
|
|
|
|
|
2020-12-18 07:15:10 +01:00
|
|
|
#searchbox input:focus {
|
2020-12-06 13:49:50 +01:00
|
|
|
border-color: var(--secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResults li {
|
|
|
|
list-style: none;
|
|
|
|
border-radius: var(--radius);
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px 0;
|
|
|
|
position: relative;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResults {
|
|
|
|
margin: 10px 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResults li:active {
|
|
|
|
transition: transform .1s;
|
|
|
|
transform: scale(.98);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchResults a {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
outline: none;
|
|
|
|
}
|
2020-12-18 07:15:10 +01:00
|
|
|
|
|
|
|
#searchResults .active {
|
|
|
|
transform: scale(.98);
|
2021-01-13 19:05:54 +01:00
|
|
|
border: 2px solid var(--tertiary)
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion) {
|
|
|
|
#searchResults .active {
|
|
|
|
transform: none
|
|
|
|
}
|
2020-12-18 07:15:10 +01:00
|
|
|
}
|