diff options
-rw-r--r-- | web/cobrands/eastsussex/base.scss | 22 | ||||
-rw-r--r-- | web/cobrands/eastsussex/layout.scss | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss index 8e4a98566..4b88c1187 100644 --- a/web/cobrands/eastsussex/base.scss +++ b/web/cobrands/eastsussex/base.scss @@ -59,7 +59,9 @@ h1.main { margin: 0 0 9px; } -.mappage .application-nav, .twothirdswidthpage .application-nav { +// 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. +.mappage .application-nav { padding: 4.5px 9px; } @@ -120,6 +122,10 @@ 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 { @@ -182,6 +188,20 @@ 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; } diff --git a/web/cobrands/eastsussex/layout.scss b/web/cobrands/eastsussex/layout.scss index 7206c3089..3ccfb3f6a 100644 --- a/web/cobrands/eastsussex/layout.scss +++ b/web/cobrands/eastsussex/layout.scss @@ -9,6 +9,8 @@ .clearfix { *zoom: 1; } #front-main { + // Undo the top margin added in base.scss + margin-top: 0; padding: 0 } #front-main-container { |