aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-07 10:41:46 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-07 10:41:46 +0100
commit8ec524f59f071633a61b1f3b69b2b3f6f003d8d6 (patch)
treefd036743efa7faf9a06bacfbc8965cf3906baafc
parent434f30144837d815151bc03bd19e35305ceab2e8 (diff)
[East Sussex] Improve header CSS.
Remove quite a bit of unnecessary CSS that was not actually helping with display.
-rw-r--r--web/cobrands/eastsussex/base.scss41
1 files changed, 6 insertions, 35 deletions
diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss
index 267a33ca2..4ed5cac42 100644
--- a/web/cobrands/eastsussex/base.scss
+++ b/web/cobrands/eastsussex/base.scss
@@ -12,6 +12,7 @@ body {
footer {
background: #00a1de;
+ display: none;
}
.content {
@@ -38,21 +39,17 @@ h1.main {
margin: 0.5em 0;
}
-.container {
- padding: 0 1em 1em; /* if remove this 1em, need to edit .full-width! */
-}
-
#site-header {
position: relative;
- background: $primary;
- height: 76px;
+ background: #fff;
+ height: auto;
+ .container {
+ padding: 0;
+ }
}
#site-header .eastsussex .header {
margin: 0 0 2px;
}
-.frontpage #site-header .eastsussex .header {
- margin: 0 0 9px;
-}
// Make the navigation bar thinner on the map page so that it takes up less
// room and doesn't push the map too far down.
@@ -98,14 +95,6 @@ h1.main {
}
#front-main {
-
- margin: 0;
- // Add some margin to the top of this so that the FMS menu doesn't overlap
- // it, because we show a menu at the top on East Sussex as well as at the
- // bottom.
- margin-top: 5em;
- padding: 1em;
-
#front-main-container {
text-align: center;
}
@@ -164,24 +153,6 @@ body > p {
}
}
-// Add some margin to the top of this so that the FMS menu doesn't overlap
-// it, because we show a menu at the top on East Sussex as well as at the
-// bottom.
-.content {
- margin-top: 5em;
-}
-// Undo that top margin on the map pages, because we don't show the menu there
-// and on the front page, because we've already accounted for it with our
-// margin on #front-main above.
-.mappage .content,
-.frontpage .content {
- margin-top: 0em;
-}
-
-footer {
- display: none;
-}
-
.footer .languages ul {
li {