zola/docs/sass/_search.scss

31 lines
438 B
SCSS
Raw Normal View History

2018-03-20 20:27:33 +00:00
.search-container {
display: inline-block;
position: relative;
width: 300px;
input {
width: 100%;
}
}
2018-03-15 17:58:32 +00:00
.search-results {
display: none;
2018-03-20 20:27:33 +00:00
position: absolute;
background: white;
color: black;
padding: 1rem;
width: 100%;
box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
max-height: 500px;
overflow: auto;
&__items {
list-style: none;
}
&__item {
margin-bottom: 1rem;
font-size: 0.9rem;
}
2018-03-15 17:58:32 +00:00
}