Added basic search.

This commit is contained in:
Magnus Åhall 2023-07-19 10:00:36 +02:00
parent 57180e986e
commit c58a1b988b
6 changed files with 211 additions and 21 deletions

31
static/less/search.less Normal file
View file

@ -0,0 +1,31 @@
@import "theme.less";
#search {
padding: 16px;
color: #333;
h2 {
margin-bottom: 8px;
}
input[type=text] {
font-size: 1em;
}
button {
display: block;
margin-top: 8px;
}
.matches {
.matched-node {
cursor: pointer;
margin-top: 6px;
&:before {
content: "•";
margin-right: 6px;
}
}
}
}