Backported the standard stylesheet from TNAAA. Tables and forms are a
[cocanwiki.git] / html / _css / standard.css
index efcdfbd..b2fa24e 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.3 2004/09/08 17:07:24 rich Exp $
+ * $Id: standard.css,v 1.7 2004/10/05 14:51:11 rich Exp $
  */
 
 body {
@@ -194,3 +194,84 @@ div#old_version {
   margin-left: 10%;
   clear: both;
 }
+
+/* Tables. */
+table.top_table {
+  border-collapse: collapse;
+  border: 1px solid #eee;
+}
+
+table.top_table th {
+  vertical-align: top;
+}
+
+table.top_table td {
+  vertical-align: top;
+}
+
+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: 1px solid #eee;
+}
+
+table.left_table th {
+  text-align: right;
+  vertical-align: top;
+  padding-right: 1em;
+}
+
+table.left_table td {
+  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;
+  border: 1px solid #eeb;
+}
+
+/* Search box. */
+div#search_div {
+  position: absolute;
+  left: 50%;
+  width: 49%;
+  top: 0.95em;
+  text-align: right;
+}