Backported the standard stylesheet from TNAAA. Tables and forms are a
authorrich <rich>
Tue, 5 Oct 2004 14:51:11 +0000 (14:51 +0000)
committerrich <rich>
Tue, 5 Oct 2004 14:51:11 +0000 (14:51 +0000)
lot less hideous now.

html/_css/standard.css

index 95b4d13..b2fa24e 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.6 2004/09/27 16:21:09 rich Exp $
+ * $Id: standard.css,v 1.7 2004/10/05 14:51:11 rich Exp $
  */
 
 body {
@@ -198,17 +198,14 @@ div#old_version {
 /* Tables. */
 table.top_table {
   border-collapse: collapse;
-  border: 2px solid #000;
+  border: 1px solid #eee;
 }
 
 table.top_table th {
-  border: 1px solid #000;
-  background-color: #eee;
   vertical-align: top;
 }
 
 table.top_table td {
-  border: 1px solid #eee;
   vertical-align: top;
 }
 
@@ -216,27 +213,54 @@ table.top_table td.number {
   text-align: right;
 }
 
+table.top_table th.divider {
+  text-align: center;
+  padding: 6px;
+  border-top: 1px solid #eee;
+  border-bottom: 1px solid #eee;
+}
+
 table.left_table {
   border-collapse: collapse;
-  border: 2px solid #000;
+  border: 1px solid #eee;
 }
 
 table.left_table th {
   text-align: right;
-  border: 1px solid #000;
-  background-color: #eee;
   vertical-align: top;
+  padding-right: 1em;
 }
 
 table.left_table td {
-  border: 1px solid #eee;
   vertical-align: top;
+  padding: 3px;
 }
 
 table.left_table td.number {
   text-align: right;
 }
 
+table.left_table th.divider {
+  text-align: center;
+  padding: 6px;
+  border-top: 1px solid #eee;
+  border-bottom: 1px solid #eee;
+}
+
+/* Forms. */
+form > table {
+  margin-left: auto;
+  margin-right: auto;
+}
+
+input:focus {
+  background-color: #eef;
+}
+
+textarea:focus {
+  background-color: #eef;
+}
+
 /* Highlighting search terms. */
 span.search_term {
   background-color: #ff0;