From c1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 23 Dec 2015 13:53:05 +0100 Subject: show warning when running in preview mode --- assets/css/_structure.less | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'assets/css/_structure.less') diff --git a/assets/css/_structure.less b/assets/css/_structure.less index 422bfab..13cd86a 100644 --- a/assets/css/_structure.less +++ b/assets/css/_structure.less @@ -61,6 +61,28 @@ nav { } } +.preview-warning { + position: fixed; + top: 0; + right: 0; + background: red; + width: 190px; + height: 100px; + z-index: 2000; + text-align: center; + border-bottom-left-radius: 60px; + line-height: 40px; + padding-left: 10px; + font-size: 30px; + padding-top: 9px; + color: white; + cursor: default; + + &:hover { + opacity: 0.1; + } +} + body { padding: 50px 0; -- cgit v1.2.3