added optional js powered search

This commit is contained in:
Gabriele Musco 2021-04-13 15:21:40 +02:00
parent cfad046bb8
commit f51db60b35
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
8 changed files with 159 additions and 43 deletions

View file

@ -33,7 +33,7 @@ a {
color: $fg_color;
text-decoration: none;
border-bottom: 2px solid $fg_color;
&:hover {
&:hover, &:focus {
border-color: $accent_color !important;
}
}
@ -335,3 +335,27 @@ ul.list {
}
}
}
.search {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
.nerdlink {
display: inline-block;
cursor: pointer;
}
#searchbar {
@extend a;
width: 100%;
display: inline-block;
background-color: transparent;
border-top: none;
border-left: none;
border-right: none;
padding: 6px 0;
font-family: $main_font;
font-size: 1.3em;
outline: none;
}
}