summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-05 22:03:36 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-05 22:03:36 +0200
commit99ea8bf7548658f64d64b33d16c27bc76314d113 (patch)
tree4d3165e8e126b8f015dd491e7a784ba7c74b9d78
parent374c6cc162859653311942f204bab9fdbfe05564 (diff)
Hide eye field except for confirmed humans.
-rw-r--r--style.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/style.scss b/style.scss
index 759ae4d..b4d91d2 100644
--- a/style.scss
+++ b/style.scss
@@ -33,3 +33,11 @@ video {
width: 100%;
height: 100%;
}
+
+// Hide eye field except when human checkbox enabled
+.eye {
+ opacity: 0;
+}
+#human:checked ~ .eye {
+ opacity: 100;
+}