diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-06 20:02:59 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-06 20:02:59 -0500 |
commit | 5b2861f1f02d9bfbc189402f35687093c7322aa9 (patch) | |
tree | 1ba290a41070616069b8e3a55b65c44615a10a9a | |
parent | 2d7bc3f322ee96a4a4e58c635ea67746bd28a810 (diff) |
Make package search box look better with wider fonts
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | media/archweb.css | 4 | ||||
-rw-r--r-- | templates/public/index.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/media/archweb.css b/media/archweb.css index 4458f4b3..d603db71 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 481e8a89..4f248fd5 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: <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> |