diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-05 11:35:53 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-12-05 15:56:26 +0000 |
commit | 1f43fc96b8c235c225eaa6be057663e11fbdf592 (patch) | |
tree | 4369d74fd1a9f66613d9e40a51c081ed7ca0ac52 /web | |
parent | c69131fd0f3a438cf459e0445ad1c7ae38a9c412 (diff) |
Add staging site banner.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/sass/_base.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 587b50ebf..ced554249 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -659,6 +659,19 @@ ul.error { /*** LAYOUT ***/ +.dev-site-notice { + font-size: 1.5em; + color: #fff; + background-color: #f00; + position: absolute; + padding: 1em 5em; + top: 1em; + left: -5em; + transform: rotate(-45deg); + z-index: 2; + pointer-events: none; +} + // Padding creates page margins on mobile .container { margin: 0 auto; |