From b5cec26d335bf5aea7f3c5d99d60008b695b1379 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 14 Apr 2010 23:16:44 +0100 Subject: [PATCH] Style improvements --- public/style.css | 40 ++++++++++++++++++++-------------------- views/home.haml | 2 -- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/public/style.css b/public/style.css index 11eaf76..c3be318 100644 --- a/public/style.css +++ b/public/style.css @@ -26,6 +26,11 @@ input.postcode text-transform: uppercase; } +#header +{ + margin-bottom: 0px; +} + #main { margin: 30px 0; @@ -48,7 +53,7 @@ input.postcode a, a:visited { - background-color: #e0ffd4; + background-color: #d9ec96; padding: 2px 5px; color: #111; text-decoration: none; @@ -57,20 +62,7 @@ a, a:visited a:hover { background-color: #4f4f4f; - color: #e0ffd4; -} - -h2 -{ - margin-top: 50px; - line-height: 1.5em; - font-weight: bold; - color: #000; -} - -form -{ - font-size: 150%; + color: #86a11d; } a.date @@ -87,17 +79,25 @@ a.date -moz-transform: rotate(-90deg); } -#header +h1 { - margin-bottom: 0px; + margin-top: 20px; + line-height: 1.5em; + font-weight: bold; + color: #86a11d; } -h1 +h2 { - margin-top: 20px; + margin-top: 50px; line-height: 1.5em; font-weight: bold; - color: #000; + color: #86a11d; +} + +form +{ + font-size: 150%; } .candidate_name diff --git a/views/home.haml b/views/home.haml index 1738fc3..3c2f9f8 100644 --- a/views/home.haml +++ b/views/home.haml @@ -3,8 +3,6 @@ Vote for your MP and %br councillors in Sutton - %br - on 6 May %p On 6 May 2010 you can vote to