aboutsummaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorMaZderMind2015-12-23 13:53:05 +0100
committerMaZderMind2015-12-23 13:53:05 +0100
commitc1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 (patch)
treee4ebf2870757064c6d4f3f8d8e32d583e3ba0c13 /assets/css
parent2b671e30dadf312410be18f9eebe631bebc5846f (diff)
show warning when running in preview mode
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/_structure.less22
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;