Header floats kthnx css and comments

master v1.12
Bel LaPointe 2020-08-07 12:42:50 -06:00
parent 8bf7503c8e
commit 43d44a4518
2 changed files with 11 additions and 1 deletions

View File

@ -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,

View File

@ -90,7 +90,7 @@ func htmlCreate(w http.ResponseWriter, baseHREF string) {
func htmlSearch(w http.ResponseWriter) {
fmt.Fprintf(w, `
<form action=%q method="post" style="padding-top: 2.5em">
<form action=%q method="post" >
<input type="text" name="keywords"></input>
<button type="submit">Search</button>
</form>