diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/bromley/bromley.scss | 23 | ||||
-rw-r--r-- | web/cobrands/bromley/layout.scss | 25 |
2 files changed, 48 insertions, 0 deletions
diff --git a/web/cobrands/bromley/bromley.scss b/web/cobrands/bromley/bromley.scss index 054315fbd..bb47ae60d 100644 --- a/web/cobrands/bromley/bromley.scss +++ b/web/cobrands/bromley/bromley.scss @@ -79,3 +79,26 @@ body { color: #333; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; #bromley-footer .footer-nav li { list-style-type: none; } #bromley-footer p { margin: 0; } +#main-menu { + text-align: center; + margin: 2em 0; + padding: 0; + li { + margin: 0; + padding: 0; + display: inline; + a, span { + padding: 1em; + color: #000; + background: #eef; + @include background(linear-gradient(#eef, #eee)); + } + span { + text-decoration: underline; + } + } + a:hover { + background: #ccf; + } +} + diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss index 6572a6f10..bd9ae28fe 100644 --- a/web/cobrands/bromley/layout.scss +++ b/web/cobrands/bromley/layout.scss @@ -45,6 +45,7 @@ body.frontpage { // White background, so no shadow needed. .content { + margin-top: 1em; @include box-shadow(none); } .ie6, .ie7, .ie8 { @@ -74,3 +75,27 @@ body.mappage .content { top: 0; } +// Fix location of aside sidebar +body.twothirdswidthpage { + .content { + aside { + @include box-shadow(none); + } + .sticky-sidebar { + aside { + position: absolute; + top: 0; + } + } + } +} +@media only screen and (min-width: 48em) and (max-width: 61em) { + body.twothirdswidthpage { + .content { + .sticky-sidebar { + top: auto; + } + } + } +} + |