Browse Source

Style improvements

tags/last-sinatra-version
Adrian Short 14 years ago
parent
commit
b5cec26d33
2 changed files with 20 additions and 22 deletions
  1. +20
    -20
      public/style.css
  2. +0
    -2
      views/home.haml

+ 20
- 20
public/style.css View File

@@ -26,6 +26,11 @@ input.postcode
text-transform: uppercase; text-transform: uppercase;
} }


#header
{
margin-bottom: 0px;
}

#main #main
{ {
margin: 30px 0; margin: 30px 0;
@@ -48,7 +53,7 @@ input.postcode


a, a:visited a, a:visited
{ {
background-color: #e0ffd4;
background-color: #d9ec96;
padding: 2px 5px; padding: 2px 5px;
color: #111; color: #111;
text-decoration: none; text-decoration: none;
@@ -57,20 +62,7 @@ a, a:visited
a:hover a:hover
{ {
background-color: #4f4f4f; 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 a.date
@@ -87,17 +79,25 @@ a.date
-moz-transform: rotate(-90deg); -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; line-height: 1.5em;
font-weight: bold; font-weight: bold;
color: #000;
color: #86a11d;
}

form
{
font-size: 150%;
} }


.candidate_name .candidate_name


+ 0
- 2
views/home.haml View File

@@ -3,8 +3,6 @@
Vote for your MP and Vote for your MP and
%br %br
councillors in Sutton councillors in Sutton
%br
on 6 May
%p %p
On 6 May 2010 you can vote to On 6 May 2010 you can vote to


Loading…
Cancel
Save