diff --git a/ArchiveState.go b/ArchiveState.go index 70e9636..2032371 100644 --- a/ArchiveState.go +++ b/ArchiveState.go @@ -296,29 +296,28 @@ func (this *ArchiveState) renderTemplateHead(w http.ResponseWriter) { « - - ` + fmt.Sprintf("%d", this.page) + ` - + + ` + fmt.Sprintf("%d", this.page) + ` + » `)) } w.Write([]byte(` -
- + - -
- - - - -
-
- - + +
+ + + + +
+
+ + -
+
`)) // Header ends diff --git a/static/style.css b/static/style.css index cc36d88..cc218c8 100644 --- a/static/style.css +++ b/static/style.css @@ -96,11 +96,18 @@ select { .nav { background: #DDD; box-shadow: 0px 4px 24px #CCC; + + font-size:0; /* remove phantom spaces between elements */ } .nav form { display: inline; } +.nav .btn, .nav .current-page, .nav select { + font-size: 12px; + line-height: 12px; +} + .nav .btn { background: white; color:black; @@ -211,7 +218,7 @@ select { text-align:center; } - .nav, .nav select { + .nav .btn, .nav .current-page, .nav select { font-size: 16px; line-height:16px; } @@ -236,7 +243,9 @@ select { } .area-search { + display:block; float:none; + margin-top: 4px; } #searchbox {