diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/eastsussex/base.scss | 25 | ||||
-rw-r--r-- | web/cobrands/eastsussex/layout.scss | 2 |
2 files changed, 25 insertions, 2 deletions
diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss index 8e4a98566..3a2e3b2f1 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; } @@ -201,7 +221,8 @@ button, input[type=submit], .btn { /* as per email from Matt Tooke, we are using ESCC's .button-nav styling, but this doesn't dtrt with span, so adding ourselves */ -.button-nav span { +.button-nav span, +.main-menu ul.button-nav li span { float: left; display: block; margin: 5px 2px 5px 0; 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 { |