Document some CSS
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 4 Jan 2009 04:51:17 +0000 (20:51 -0800)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 4 Jan 2009 04:51:17 +0000 (20:51 -0800)
* Decorator.css.php

Decorator.css.php

index a6116519f69b1163835b036f252125e886c8d9bc..f3ba127fdff8766de1b542db779cfb827e62ae5f 100644 (file)
@@ -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);