Document some CSS

Robert Sesek [2009-01-04 04:51]
Document some CSS

* Decorator.css.php
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);