From a1fc069a60de613d426995fb6bbbfc563e00d951 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 29 Aug 2013 10:29:38 +0200 Subject: [PATCH 1/1] Forum: styling topic view --- edumed/static/css/forum.css | 2 ++ edumed/static/css/forum.scss | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/edumed/static/css/forum.css b/edumed/static/css/forum.css index 51fe05f..194398d 100644 --- a/edumed/static/css/forum.css +++ b/edumed/static/css/forum.css @@ -38,6 +38,8 @@ ul.breadcrumb { text-align: center; } .forum-body .first-unread-post-link, .forum-body .first-unread-post-link:hover { text-decoration: none; } + .forum-body .post:nth-child(4n+4) { + background-color: #eaeaea; } .forum-body .post-header { padding: 3px 0 3px 20px; } .forum-body .post-header th { diff --git a/edumed/static/css/forum.scss b/edumed/static/css/forum.scss index 3691f8f..7aa7b36 100755 --- a/edumed/static/css/forum.scss +++ b/edumed/static/css/forum.scss @@ -66,7 +66,9 @@ ul.breadcrumb { - + .post:nth-child(4n+4) { + background-color: lighten(#D0D0D0 , 10%); + } .post-header { padding: 3px 0 3px 20px; -- 2.20.1