From 61e2b2a7e57f140da65c6cb6fd4c0268dcd538b8 Mon Sep 17 00:00:00 2001 From: Jenny Wong Date: Wed, 7 Mar 2012 15:54:03 -0500 Subject: [PATCH] got members.py to dump out 's instead of 's in the header row and made the table it generates more colourful. --- bin/members.py | 2 +- pub/style/style.css | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/bin/members.py b/bin/members.py index 26a13a5..a229249 100755 --- a/bin/members.py +++ b/bin/members.py @@ -29,7 +29,7 @@ print "

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 the Executive.

" print "
" print "" -print " " +print " " for (_, member) in members: if not 'program' in member: member['program'] = [''] diff --git a/pub/style/style.css b/pub/style/style.css index 1c270c7..736834e 100644 --- a/pub/style/style.css +++ b/pub/style/style.css @@ -441,16 +441,25 @@ dd { /* GENERAL */ table { - border: solid 1px black; + background-color: #fff; + border-collapse: collapse; + border: 2px solid #fff; + outline: 1px solid #4a47ae; } th { - background-color: #abc; - border: solid 1px black; - text-align: center; + background-color: #aaa; + color: #fff; + text-align: left; + background-color: #4A47AE; } -td { - background-color: #def; - border: solid 1px black; + +tr:nth-child(odd) { + background-color: #c0ffee; + background-color: #d3dfee; +} + +td a { + background-color: transparent !important; } hr {
NameProgramUsername
NameProgramUsername