diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 15:26:20 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 15:26:20 +0000 |
commit | c78e7ba02e255e576d6737db81d91d702bd1487b (patch) | |
tree | 9e3bbf78959ac22ae24aa6ce5cf88d353c079977 /web/cobrands/zurich/layout.scss | |
parent | 060ec03f03abbe879ef0463c93a80ed21e24f810 (diff) |
Zurich state banner display.
Diffstat (limited to 'web/cobrands/zurich/layout.scss')
-rw-r--r-- | web/cobrands/zurich/layout.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 82ae2be75..b6e8337e1 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -78,3 +78,21 @@ body.twothirdswidthpage { } } +// Zurich base has made this a more simple construct. The top is to pull it up +// over the content padding to be attached to the top of the content area. +// We reduce the padding as no pin image, and change the background. +.banner { + top: -1em; + p { + &#fixed { + padding-top: 2em; + @include background(linear-gradient(#769643, #648721 4px)); + } + } +} +.ie6 .banner p { + &#fixed { + background-image: none; + } +} + |