From 8c720b5bb759a6760e584c3ce1c17ff49d23e0cf Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 24 Sep 2014 16:42:53 +0100 Subject: Remove unasked for 'medium' header bottom border. Without a bottom border specified, using border-image causes an inherited 'medium' (c. 3px) border to appear. Also repeat header border image, rather than default stretch. --- web/cobrands/fixmystreet/layout.scss | 4 +++- web/cobrands/sass/_layout.scss | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index fad7f13c3..3f707f619 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -81,7 +81,9 @@ h3, h4 { } .nav-wrapper { .nav-wrapper-2 { - @include border-image(url(images/tile-y-border.jpg) 4 0 0 0); + border-image-source: url(images/tile-y-border.jpg); + border-image-slice: 4 0 0; + border-image-repeat: repeat; } } body.mappage { diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index 738200485..8aa8afc58 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -68,8 +68,7 @@ h1 { min-height: 4em; position: absolute; border-top: 4px solid $primary; - border-left: 0; - border-right: 0; + border-width: 4px 0 0 0; z-index: 2; } } -- cgit v1.2.3