From 1c759360c48d9b0b8a9bccd218174acf0de900dd Mon Sep 17 00:00:00 2001 From: rich Date: Tue, 5 Oct 2004 14:51:11 +0000 Subject: [PATCH] Backported the standard stylesheet from TNAAA. Tables and forms are a lot less hideous now. --- html/_css/standard.css | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/html/_css/standard.css b/html/_css/standard.css index 95b4d13..b2fa24e 100644 --- a/html/_css/standard.css +++ b/html/_css/standard.css @@ -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; -- 1.8.3.1