aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-06-05 16:35:49 +0100
committerStruan Donald <struan@exo.org.uk>2014-07-01 17:42:58 +0100
commite32d139d2f3b144e44c926463a959017ed8be24d (patch)
treeb96f60a3355e32705b862dd68897959d7306fd1c
parent6db5d2f53a5e627b45ddff1f8f690c80d2431acc (diff)
update style of main content box
move it up on the front page so it overlaps the yellow make footer have a black background
-rw-r--r--web/cobrands/fixmystreet/layout.scss56
1 files changed, 56 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss
index d7f4257c1..b4c66251a 100644
--- a/web/cobrands/fixmystreet/layout.scss
+++ b/web/cobrands/fixmystreet/layout.scss
@@ -94,3 +94,59 @@ body.mappage {
}
}
}
+body.twothirdswidthpage,
+body.fullwidthpage {
+ #front-main {
+ padding-bottom: 4em;
+ }
+
+ .container {
+ .content {
+ box-shadow: none;
+ padding: 1em 1em 0em;
+ margin-bottom: 0em;
+ footer {
+ margin-top: 0em;
+ .tablewrapper {
+ padding-top: 2em;
+ padding-bottom: 3em;
+ background: #1a1a1a url(images/tile.jpg) 0 0 repeat;
+ color: $base_fg;
+ }
+ }
+ }
+ }
+}
+
+body.frontpage {
+ .container {
+ background-color: transparent;
+
+ .content {
+ background-color: transparent;
+ padding: 0em 0em 1em;
+
+ > .tablewrapper {
+ margin: -4em -1em 0em;
+ padding: 1em 1em;
+ background-color: white;
+ }
+ }
+ }
+}
+
+body.twothirdswidthpage {
+ .container {
+ .content {
+ footer {
+ width: 48em;
+ @media only screen and (min-width: 61em) {
+ width: 60em;
+ }
+ .tablewrapper {
+ border: 0px;
+ }
+ }
+ }
+ }
+}