aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-06-01 19:12:37 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-06 18:22:53 +0100
commit86e58fb6bbe9134f8da603d3fa5d69d0f2e54223 (patch)
tree0e137f03ac44ae57411075179434b0e9899bce25
parentfec073cb5b704c17d18682e40cb10942f202624c (diff)
[fixmystreet.com] Better .content homepage layout.
Remove unused .tablewrapper footer CSS.
-rw-r--r--web/cobrands/fixmystreet.com/layout.scss54
1 files changed, 10 insertions, 44 deletions
diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss
index 4b2a91c9d..ae3f75da2 100644
--- a/web/cobrands/fixmystreet.com/layout.scss
+++ b/web/cobrands/fixmystreet.com/layout.scss
@@ -150,55 +150,21 @@ body.fullwidthpage {
}
}
}
-
- .container {
- .content {
- footer {
- .tablewrapper {
- background: #1a1a1a url(images/tile.jpg) 0 0 repeat;
- }
- }
- }
- }
}
body.frontpage {
- .container {
+ // Because fms.com includes a .fms-pro-promo that we want to look separate
+ // from #front-howto and #front-recent, we move the white background and
+ // padding from .content to the .tablewrapper, so it visually stands alone.
+ .content {
background-color: transparent;
+ padding: 0em 0em 1em;
+ margin-top: -3em; // overlap the bottom of #front-main
- .content {
- background-color: transparent;
- padding: 0em 0em 1em;
-
- > .tablewrapper {
- margin: -4em 0em 0em;
- padding: 1em 1em;
- background-color: white;
- width: auto;
- }
- > .form-error {
- margin-top: -4em;
- }
- > .form-error + .tablewrapper {
- margin-top: 0;
- }
- }
- footer {
- .bordered {
- margin: 0em;
- }
- }
- }
-}
-
-body.twothirdswidthpage {
- .container {
- .content {
- footer {
- .tablewrapper {
- border: 0px;
- }
- }
+ .tablewrapper {
+ @include box-sizing(border-box);
+ padding: 1.5em;
+ background-color: white;
}
}
}