51 lines
808 B
SCSS
51 lines
808 B
SCSS
.search-bar {
|
|
max-width: 70rem;
|
|
|
|
input[type='text'] {
|
|
background-color: var(--background-2);
|
|
border: var(--border-size) solid var(--foreground-1);
|
|
color: inherit;
|
|
padding: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
ul {
|
|
border: var(--border-size) solid var(--foreground-1);
|
|
border-top: none;
|
|
list-style: none;
|
|
margin: 0;
|
|
max-height: 50vh;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
li {
|
|
&:nth-child(even) {
|
|
background-color: var(--background-2);
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.search-result,
|
|
.search-state {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.search-result {
|
|
display: block;
|
|
text-decoration: none;
|
|
|
|
.display {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.disambiguation {
|
|
font-size: 60%;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|