From 58bcc0729fc8784e65622bffe9bd0f9af9572ecb Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Thu, 18 Jun 2020 15:15:37 +0200 Subject: [PATCH] WIP with most necessary features --- .gitignore | 2 + index.html | 79 +++++++++++- parade.js | 349 ++++++++++++++++++++++++++++++++++++++--------------- 3 files changed, 327 insertions(+), 103 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78a63a1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dataset/* +interview/*.mp3 \ No newline at end of file diff --git a/index.html b/index.html index e13d0a9..dcf24bd 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,22 @@ height: 100%; font-family: sans-serif; } + + + body.paused canvas{ + opacity: .6; + } + canvas{ margin:0; width:100vw; height:100vh; + opacity: 1; + transition: opacity 1s; + } + + body.paused #subtitles{ + color:darkgray; } /* audio{ @@ -29,7 +41,48 @@ color:white; text-shadow: black 0 0 10px;; text-align: center; - font-size: 20px; + font-size: 25px; + } + + #annotation{ + position: absolute; + top:0; + left:0; + padding: 5px; + background:white; + } + + #annotation img{ + height: 300px; + } + + #annotation .description{ + display:none; + } + + + #time{ + position: fixed; + bottom: 0; + right: 0; + padding: 5px; + color:white; + } + + + #workmsg{ + display:none; + } + + body.paused #workmsg{ + position:absolute; + top: calc(50vh - 20px); + text-align: center; + color:gray; + display: block; + width: 520px; + left: calc(50% - 150px); + font-size: 30px; } @@ -41,14 +94,22 @@ - +
-