diff options
author | MaZderMind | 2015-12-23 13:53:05 +0100 |
---|---|---|
committer | MaZderMind | 2015-12-23 13:53:05 +0100 |
commit | c1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 (patch) | |
tree | e4ebf2870757064c6d4f3f8d8e32d583e3ba0c13 /assets | |
parent | 2b671e30dadf312410be18f9eebe631bebc5846f (diff) |
show warning when running in preview mode
Diffstat (limited to '')
-rw-r--r-- | assets/css/_structure.less | 22 |
1 files changed, 22 insertions, 0 deletions
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; |