From 4d5d84374ef8ce124ce8a6def8e5a0a6ac2fed2e Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 3 Oct 2010 20:04:51 +0200 Subject: update css; hide previous days --- public/css/style.css | 19 ++++++------------- views/project/index.tt | 6 +++++- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index a215c98..89a35d5 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -4,9 +4,7 @@ font:13px helvetica,arial,freesans,clean,sans-serif; margin: 0; margin-bottom: 25px; padding: 0; -background-color: #ddd; -background-image: url("/images/perldancer-bg.jpg"); -background-repeat: no-repeat; +background-color:#eaeaea; background-position: top left; color: #333; } @@ -16,16 +14,11 @@ font-size: 28px; color: #000; } -a {color: #03c} -a:hover { -background-color: #03c; -color: white; -text-decoration: none; -} - +a{color:#4183c4;text-decoration:none;} +a:hover{text-decoration:underline;} #page { -background-color: #ddd; +background-color:#eaeaea; width: 80%; margin: auto; margin-left: auto; @@ -34,9 +27,9 @@ margin-right: auto; } #content { + margin-top: 30px; background-color: white; -border: 3px solid #aaa; -border-top: none; +border: 3px solid #000; padding: 25px; width: 90%; } diff --git a/views/project/index.tt b/views/project/index.tt index 5665686..884f58d 100644 --- a/views/project/index.tt +++ b/views/project/index.tt @@ -6,7 +6,11 @@ :for $days -> $day {

<: $day :>

-
+ : if $~day == 0 { +
+ : }else{ +