aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/static/blog.css
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/static/blog.css')
-rw-r--r--internal/web/static/blog.css15
1 files changed, 10 insertions, 5 deletions
diff --git a/internal/web/static/blog.css b/internal/web/static/blog.css
index e2bf588..4fd7b76 100644
--- a/internal/web/static/blog.css
+++ b/internal/web/static/blog.css
@@ -80,12 +80,15 @@ img { max-width: 100%; height: auto; }
.tc-3 { font-size: 1.2em; }
.tc-4 { font-size: 1.45em; }
.tc-5 { font-size: 1.75em; }
-.site-search { border-bottom: 1px solid rgba(0,0,0,0.1); }
-.search-inner { padding: 0.5em 1em; }
+/* search box: in the header it floats at the right end of the menu row (its
+ own thin bar only when there is no menu); in a column it fills the box */
.search-form { margin: 0; }
-.search-form input { padding: 0.35em 0.5em; font: inherit; max-width: 100%; }
-.search-form button { padding: 0.35em 0.8em; font: inherit; }
-.mod-search input { width: 100%; margin-bottom: 0.4em; }
+.search-form input { padding: 0.3em 0.5em; font: inherit; font-size: 0.9em; max-width: 100%; border: 1px solid rgba(0,0,0,0.25); border-radius: 3px; background: rgba(255,255,255,0.85); color: #222; }
+.site-nav .search-form { float: right; margin: 0.35em 0 0.35em 1em; }
+.site-nav .nav-inner { overflow: hidden; }
+.site-search { border-bottom: 1px solid rgba(0,0,0,0.1); }
+.search-inner { padding: 0.4em 1em; }
+.mod-search input { width: 100%; }
.search-page { margin-bottom: 1.5em; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { margin: 0 0 1.2em; }
@@ -104,4 +107,6 @@ img { max-width: 100%; height: auto; }
.col-left, .col-right { padding: 0; margin-top: 1.5em; }
.col-left { order: 0; }
.col-empty { display: none; } /* a reserved-but-empty column has nothing to stack */
+ .site-nav .search-form { float: none; margin: 0.35em 0.8em; }
+ .site-nav .search-form input { width: 100%; }
}