chiark / gitweb /
Tidy up search form; remove cruft
[disorder] / templates / disorder.css
index e647da0697ed5d77cb918b26dd8c022615ab30f1..91394f89de7317d74757dd97fc2d368060a7a7d2 100644 (file)
@@ -8,7 +8,7 @@ body {
   font-variant: normal
 }
 
-input {
+input,button {
   font-family: helvetica,sans-serif;
   font-weight: normal;
   font-size: 12pt;
@@ -181,9 +181,13 @@ div.filesdirectories p.all {
 
 /* buttons *******************************************************************/
 
+form.button {
+  display: inline
+}
+
 /* Buttons and links that look like buttons share the same formatting */
-button,a.button {
-  padding: 1px;
+a.button {
+  padding-top: 2px;
   border-width: 3px;
   border-color: #fefefe;       /* Off-white */
   border-style: inset;
@@ -194,7 +198,12 @@ button,a.button {
   font-weight: normal;
   font-variant: normal;
   font-size: 12pt;
-  overflow: visible             /* For IE's benefit */
+  cursor: pointer
+}
+
+a.button {
+  padding-left: 4px;
+  padding-right: 4px;
 }
 
 a.button:active,button:active {
@@ -235,9 +244,13 @@ div.search_title a:active {
   color: red
 }
 
-form.search {
+div.search {
   border: 1px solid black;     /* Give the search box a border */
-  padding: 0.2em
+  padding: 0.2em;
+}
+
+form.search, form.search p {
+  display: inline
 }
 
 /* menu bar *******************************************************************/