From: Eevee Date: Sat, 14 Aug 2010 05:04:37 +0000 (-0700) Subject: More better striped row colors. X-Git-Tag: veekun-promotions/2010082201~5 X-Git-Url: http://git.veekun.com/zzz-spline-frontpage.git/commitdiff_plain/0448e379cae2f4089997aea959ef376cec57768a More better striped row colors. --- diff --git a/splinext/frontpage/templates/css/frontpage.mako b/splinext/frontpage/templates/css/frontpage.mako index 124d73e..8f4718f 100644 --- a/splinext/frontpage/templates/css/frontpage.mako +++ b/splinext/frontpage/templates/css/frontpage.mako @@ -12,6 +12,9 @@ .frontpage-update .content.has-comments { padding-bottom: 3.5em; } .frontpage-update .comments { position: absolute; bottom: 0; left: 0; padding: 1em; } +.frontpage-update table.striped-rows tr:nth-child(2n) { background: #e8e8e8; } +.frontpage-update table.striped-rows tr:nth-child(2n+1) { background: transparent; } + table.frontpage-repository { width: 100%; } table.frontpage-repository tr.frontpage-repository-header { background: transparent !important; } table.frontpage-repository th { font-size: 1.25em; padding: 0.5em 0 0; border-bottom: 1px solid #2457a0; text-align: left; font-style: italic; }