got members.py to dump out <th>'s instead of <td>'s in the header row and made the...
authorJenny Wong <jy2wong@uwaterloo.ca>
Wed, 7 Mar 2012 20:54:03 +0000 (15:54 -0500)
committerJenny Wong <jy2wong@uwaterloo.ca>
Wed, 7 Mar 2012 20:54:03 +0000 (15:54 -0500)
bin/members.py
pub/style/style.css

index 26a13a5..a229249 100755 (executable)
@@ -29,7 +29,7 @@ print "<p>The members for " + term2 + " " + str(year) + " are listed here. We cu
 print "Use of this list for solicitation of any form is prohibited. If you wish to get in touch with the membership as a whole please contact <a href=\"mailto:exec@csclub.uwaterloo.ca\">the Executive</a>.</p>"
 print "<center>"
 print "<table>"
-print "    <tr><td>Name</td><td>Program</td><td>Username</td>"
+print "    <tr><th>Name</th><th>Program</th><th>Username</th>"
 for (_, member) in members:
     if not 'program' in member:
         member['program'] = ['']
index 1c270c7..736834e 100644 (file)
@@ -441,16 +441,25 @@ dd {
 /* GENERAL */\r
 \r
 table {\r
-  border: solid 1px black;\r
+  background-color: #fff;\r
+  border-collapse: collapse;\r
+  border: 2px solid #fff;\r
+  outline: 1px solid #4a47ae;\r
 }\r
 th {\r
-  background-color: #abc;\r
-  border: solid 1px black;\r
-   text-align: center;\r
+  background-color: #aaa;\r
+  color: #fff;\r
+  text-align: left;\r
+  background-color: #4A47AE;\r
 }\r
-td {\r
-  background-color: #def;\r
-  border: solid 1px black;\r
+\r
+tr:nth-child(odd) {\r
+  background-color: #c0ffee;\r
+  background-color: #d3dfee;\r
+}\r
+\r
+td a {\r
+  background-color: transparent !important;\r
 }\r
 \r
 hr {\r