aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-06-01 21:41:13 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-07 14:19:05 +0100
commit5cf4e5b27b76c8beadaf51c8d78aa16ba6274958 (patch)
tree467b54cc77d33137d1f0296988d3995e2fb0054f /web
parent6b32701ff39c4b4a4bb062e28ce02781fc0a4f34 (diff)
Default to same-size logo on front page.
This means that only cobrands that want a different/bigger logo have to override it.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fiksgatami/layout.scss9
-rw-r--r--web/cobrands/fixamingata/layout.scss12
-rw-r--r--web/cobrands/fixmystreet.com/layout.scss7
-rw-r--r--web/cobrands/sass/_layout.scss6
4 files changed, 25 insertions, 9 deletions
diff --git a/web/cobrands/fiksgatami/layout.scss b/web/cobrands/fiksgatami/layout.scss
index 5ac663ecd..c3c36fa12 100644
--- a/web/cobrands/fiksgatami/layout.scss
+++ b/web/cobrands/fiksgatami/layout.scss
@@ -18,3 +18,12 @@
}
}
}
+
+body.frontpage {
+ #site-logo {
+ top: 3em;
+ width: 300px;
+ height: 60px;
+ background: url($image-sprite) -2px -108px no-repeat;
+ }
+}
diff --git a/web/cobrands/fixamingata/layout.scss b/web/cobrands/fixamingata/layout.scss
index bd1cab41a..555e2641b 100644
--- a/web/cobrands/fixamingata/layout.scss
+++ b/web/cobrands/fixamingata/layout.scss
@@ -73,6 +73,14 @@ h3, h4,
}
}
+body.frontpage {
+ #site-logo {
+ width: 300px;
+ height: 55px;
+ background: url($image-sprite) -2px -115px no-repeat;
+ }
+}
+
#front-main {
background: $primary url(/cobrands/fixamingata/images/tile-y.jpg);
}
@@ -115,8 +123,6 @@ h3, h4,
body.fullwidthpage .container .content footer .tablewrapper { background: #fff; }
-body.frontpage #site-logo { top: 0em; }
-
body.frontpage #site-header { height: 85px; }
-body.frontpage #user-meta { margin-top: 1.2em; } \ No newline at end of file
+body.frontpage #user-meta { margin-top: 1.2em; }
diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss
index 3aee50fd5..87916b33a 100644
--- a/web/cobrands/fixmystreet.com/layout.scss
+++ b/web/cobrands/fixmystreet.com/layout.scss
@@ -148,6 +148,13 @@ body.fullwidthpage {
}
body.frontpage {
+ #site-logo {
+ top: 3em;
+ width: 300px;
+ height: 60px;
+ background: url($image-sprite) -2px -108px no-repeat;
+ }
+
// 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.
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index aa58f0e78..2f5e263c4 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -963,12 +963,6 @@ body.frontpage {
#site-header{
height:8em;
}
- #site-logo{
- top:3em;
- width: 300px;
- height: 60px;
- background: url($image-sprite) -2px -108px no-repeat;
- }
}
//logo fix
.iel8 {