X-Git-Url: http://git.veekun.com/zzz-spline-frontpage.git/blobdiff_plain/9be4bb2b3da075385c748f33488d316ebcbdd9ff..cd1d8d6aeed2bbb04467074d20e89fd1819994e5:/splinext/frontpage/templates/css/frontpage.mako diff --git a/splinext/frontpage/templates/css/frontpage.mako b/splinext/frontpage/templates/css/frontpage.mako index 124d73e..2374f72 100644 --- a/splinext/frontpage/templates/css/frontpage.mako +++ b/splinext/frontpage/templates/css/frontpage.mako @@ -1,3 +1,5 @@ +.frontpage-new-stuff { height: 16px; margin: 0.25em 0; padding: 0; border: none; background: url(${h.static_uri('spline', '/icons/new-text.png')}) center center repeat-x; } + .frontpage-update { position: relative; overflow: auto; margin: 1em 0; background: #f4f4f4; -moz-border-radius: 1em; -webkit-border-radius: 1em; } .frontpage-update:nth-child(2n) { background: #f0f0f0; } .frontpage-update .header { white-space: nowrap; padding: 0.5em 1em; border: 1px solid #b4c7e6; background: url(${h.static_uri('local', 'images/layout/th-background.png')}) left bottom repeat-x; -moz-border-radius-topleft: 1em; -moz-border-radius-topright: 1em; -webkit-border-top-left-radius: 0.5em; -webkit-border-top-right-radius: 0.5em; } @@ -12,6 +14,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; }