diff --git a/config/config.go b/config/config.go index 4dae89e..73998a1 100755 --- a/config/config.go +++ b/config/config.go @@ -101,6 +101,7 @@ const defaultWrapper = ` body { font-size: 125%; background: #3b242b; + margin-top: 0; } body > form > textarea { margin-top: 2.5em; @@ -130,6 +131,15 @@ const defaultWrapper = ` text-align: right; font-size: 12pt; } + body > h2:first-of-type { + margin: 0; + margin-bottom: .5em; + padding: .3em 0 .3em 0; + position: sticky; + top: 0; + background-color: #3b242b; + z-index: 999; + } h1:hover > .comment, h2:hover > .comment, h3:hover > .comment, diff --git a/server/notes.go b/server/notes.go index 7543356..99ab20b 100755 --- a/server/notes.go +++ b/server/notes.go @@ -90,7 +90,7 @@ func htmlCreate(w http.ResponseWriter, baseHREF string) { func htmlSearch(w http.ResponseWriter) { fmt.Fprintf(w, ` -