From 0e9203ec2286cfcbe510b56f3898adb58e651248 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 3 Jan 2009 20:51:17 -0800 Subject: [PATCH] Document some CSS * Decorator.css.php --- Decorator.css.php | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/Decorator.css.php b/Decorator.css.php index a611651..f3ba127 100644 --- a/Decorator.css.php +++ b/Decorator.css.php @@ -181,6 +181,7 @@ input, select, textarea /* Tables */ /*******************************************************************/ +/* Standard formatting for all tables */ table { border-width: 1px; @@ -195,6 +196,7 @@ table width: 100%; } +/* Title of the table */ thead { background-color: rgb(123, 170, 90); @@ -211,11 +213,7 @@ thead padding: 7px; } -tr -{ - border-collapse: collapse; -} - +/* Used for mutli-column data that requires column headings */ .headings { background-color: rgb(203, 234, 148); @@ -225,31 +223,34 @@ tr color: rgb(62, 76, 49); } -.headings td -{ - text-align: center; -} + .headings td + { + text-align: center; + } -.headings td:first-child -{ - text-align: left; -} + .headings td:first-child + { + text-align: left; + } -.headings td:last-child -{ - text-align: right; -} + .headings td:last-child + { + text-align: right; + } +/* Data formatting for tables */ table tr td { padding: 4px; } +/* Data background color, option 1 */ table .alt1 { background-color: rgb(255, 255, 255); } +/* Data background color, option 2 */ table .alt2 { background-color: rgb(237, 245, 230); -- 2.22.5