parent
8bf7503c8e
commit
43d44a4518
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue