From 0448e379cae2f4089997aea959ef376cec57768a Mon Sep 17 00:00:00 2001 From: Eevee Date: Fri, 13 Aug 2010 22:04:37 -0700 Subject: [PATCH] More better striped row colors. --- splinext/frontpage/templates/css/frontpage.mako | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.7.4