Added basic search.
This commit is contained in:
parent
57180e986e
commit
c58a1b988b
6 changed files with 211 additions and 21 deletions
29
static/css/search.css
Normal file
29
static/css/search.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
@theme_gradient: linear-gradient(to right, #009fff, #ec2f4b);
|
||||
@theme_gradient: linear-gradient(to right, #f5af19, #f12711);
|
||||
@theme_gradient: linear-gradient(to right, #fdc830, #f37335);
|
||||
@theme_gradient: linear-gradient(to right, #8a2387, #e94057, #f27121);
|
||||
@theme_gradient: linear-gradient(to right, #659999, #f4791f);
|
||||
*/
|
||||
#search {
|
||||
padding: 16px;
|
||||
color: #333;
|
||||
}
|
||||
#search h2 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
#search input[type=text] {
|
||||
font-size: 1em;
|
||||
}
|
||||
#search button {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
#search .matches .matched-node {
|
||||
cursor: pointer;
|
||||
margin-top: 6px;
|
||||
}
|
||||
#search .matches .matched-node:before {
|
||||
content: "•";
|
||||
margin-right: 6px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue