2 Commits
v1.10 ... v1.11

Author SHA1 Message Date
bel
9785ef5e1e Add serach bar to search page 2020-03-09 03:09:45 +00:00
bel
3b7aa70e44 fix table and toc colors 2020-03-09 03:06:54 +00:00
3 changed files with 7 additions and 2 deletions

View File

@@ -79,9 +79,13 @@ const defaultWrapper = `
} }
</style> </style>
<style> <style>
thead, tr:nth-child(2n) {
background-color:#3e0a2b;
background-color:#300330 !important;
}
nav { nav {
display: block; display: block;
background: #161f27; background: #300330;
padding: .5pt; padding: .5pt;
border-radius: 6px; border-radius: 6px;
} }
@@ -98,7 +102,7 @@ const defaultWrapper = `
body > form > textarea { body > form > textarea {
margin-top: 2.5em; margin-top: 2.5em;
} }
body > h2 { body > h2:nth-child(2) {
margin: 0; margin: 0;
position: fixed; position: fixed;
padding: .25em; padding: .25em;

0
config/rotate.py Normal file → Executable file
View File

View File

@@ -21,6 +21,7 @@ func (s *Server) search(w http.ResponseWriter, r *http.Request) {
} }
head(w, r) head(w, r)
fmt.Fprintln(w, h2(filetree.NewPathFromURL("/notes").MultiLink())) fmt.Fprintln(w, h2(filetree.NewPathFromURL("/notes").MultiLink()))
htmlSearch(w)
fmt.Fprintln(w, h1(keywords), results) fmt.Fprintln(w, h1(keywords), results)
foot(w, r) foot(w, r)
} }