From 1f1281c9c1cad227cbe5bc32deac99791915b0c0 Mon Sep 17 00:00:00 2001 From: funix Date: Thu, 2 Sep 2021 18:29:28 +0200 Subject: [PATCH] video++ --- index.html | 32 ++++++++++++++++++++++++++++++-- js.js | 8 +++++++- style.css | 30 +++++++++++++++++++++++++++--- 3 files changed, 64 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index f6b57ba..6352c37 100644 --- a/index.html +++ b/index.html @@ -31,7 +31,8 @@ - + +
@@ -139,7 +140,15 @@
- + + + + +
@@ -156,6 +165,8 @@ document.getElementById("print").style.visibility = "hidden"; document.getElementById("gallery").style.visibility = "hidden"; document.getElementById("license").style.visibility = "hidden"; + document.getElementById("archive").style.visibility = "hidden"; + } function myFunction2() { @@ -164,6 +175,8 @@ document.getElementById("print").style.visibility = "hidden"; document.getElementById("gallery").style.visibility = "hidden"; document.getElementById("license").style.visibility = "hidden"; + document.getElementById("archive").style.visibility = "hidden"; + } function myFunction3() { @@ -172,6 +185,8 @@ document.getElementById("print").style.visibility = "visible"; document.getElementById("gallery").style.visibility = "hidden"; document.getElementById("license").style.visibility = "hidden"; + document.getElementById("archive").style.visibility = "hidden"; + } function myFunction4() { @@ -180,6 +195,19 @@ document.getElementById("print").style.visibility = "hidden"; document.getElementById("gallery").style.visibility = "hidden"; document.getElementById("license").style.visibility = "visible"; + document.getElementById("archive").style.visibility = "hidden"; + + } + + function myFunction5() { + document.getElementById("intro").style.visibility = "hidden"; + document.getElementById("colophon").style.visibility = "hidden"; + document.getElementById("print").style.visibility = "hidden"; + document.getElementById("gallery").style.visibility = "hidden"; + document.getElementById("license").style.visibility = "hidden"; + document.getElementById("archive").style.visibility = "visible"; + // alert('cose') + } gallery = document.getElementById("gallery"); diff --git a/js.js b/js.js index b8be2c4..98818a2 100644 --- a/js.js +++ b/js.js @@ -237,4 +237,10 @@ Without ${TS[5 This is why we have to ${VB[2]} ${icons[VB[2]]} for the ${TS[7]} ${icons[TS[7]]} in ever-changing ${NN[0]} ${icons[NN[0]]}.` -document.querySelector('#showMessage').innerHTML = message \ No newline at end of file +document.querySelector('#showMessage').innerHTML = message + + + + + + diff --git a/style.css b/style.css index c4840c8..52e0423 100644 --- a/style.css +++ b/style.css @@ -83,7 +83,7 @@ button{ display: fixed; margin: 0 1vw; margin-bottom: 2vw; - min-width: 6vw; + min-width: 3vw; } button:hover{ @@ -181,6 +181,7 @@ button:focus{ margin-top: 2vw; overflow-y: hidden; line-height: 1.5vw;} + #colophon{ visibility: hidden; @@ -193,6 +194,22 @@ button:focus{ position: absolute; margin-top: 2vw; } + + +#archive{ + width: 35vw; + visibility: hidden; + position: relative; + top: -25vw; + /* margin: 90% 0; */ + overflow-y: hidden;} + +#archive video{ + width: 100%; + margin: 40% 0; + /* position: absolute; */ + top: 0; +} #innest{ position: relative; @@ -524,5 +541,12 @@ button:focus{ margin-bottom: 3vw; min-width: 20%; } - - } \ No newline at end of file + +#archive{ + width: 100%; + position: relative; + top: -68vw; +} + } + +} \ No newline at end of file