summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--media/archweb.css4
-rw-r--r--templates/public/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/media/archweb.css b/media/archweb.css
index 4458f4b..d603db7 100644
--- a/media/archweb.css
+++ b/media/archweb.css
@@ -113,8 +113,8 @@ ul.errorlist { color: red; }
/* home: pkgsearch box */
#pkgsearch { padding: 1em 0.75em; background: #3ad; color: #fff; border: 1px solid #08b; }
-#pkgsearch p { margin: 0; padding: 0; font-weight: bold; text-align: right; }
-#pkgsearch input { vertical-align: bottom; width: 12em; padding: 0.15em; font-size: 1em; color: #000; background: #fff; border: 1px solid #09c; }
+#pkgsearch label { width: auto; padding: 0.1em 0; }
+#pkgsearch input { width: 10em; float: right; font-size: 1em; color: #000; background: #fff; border: 1px solid #09c; }
/* home: recent pkg updates */
#pkg-updates h3 { margin: 0 0 0.3em; }
diff --git a/templates/public/index.html b/templates/public/index.html
index 481e8a8..4f248fd 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -55,8 +55,8 @@
<form id="pkgsearch-form" method="get" action="/packages/">
<fieldset>
- <p>Package Search:&nbsp;&nbsp;<input id="pkgsearch-field"
- type="text" name="q" size="18" maxlength="200" /></p>
+ <label for="pkgsearch-field">Package Search:</label>
+ <input id="pkgsearch-field" type="text" name="q" size="18" maxlength="200" />
</fieldset>
</form>