From 1fd7a2e38c3b5b0cae663d77b7cff12f4ba9215f Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Wed, 8 Dec 2021 11:51:34 +0100
Subject: [PATCH] Add nopaque video to index
---
app/static/css/nopaque.css | 15 +++++++++++++++
app/templates/main/index.html.j2 | 27 ++++++++-------------------
2 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/app/static/css/nopaque.css b/app/static/css/nopaque.css
index 381c2f40..90f4df68 100644
--- a/app/static/css/nopaque.css
+++ b/app/static/css/nopaque.css
@@ -57,3 +57,18 @@ h1 .nopaque-icons, h2 .nopaque-icons, h3 .nopaque-icons, h4 .nopaque-icons,
.hoverable {cursor: pointer;}
.s-attr.chip .p-attr.chip {background-color: inherit;}
+
+
+.responsive-youtube-video-container {
+ position: relative;
+ width: 100%;
+ height: 0;
+ padding-bottom: 56.25%;
+}
+.responsive-youtube-video {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
diff --git a/app/templates/main/index.html.j2 b/app/templates/main/index.html.j2
index 94db3551..bbc44283 100644
--- a/app/templates/main/index.html.j2
+++ b/app/templates/main/index.html.j2
@@ -51,7 +51,7 @@
{% if current_user.is_anonymous %}
Registration and log in
{% endif %}
- Workflow
+ Introduction video
@@ -118,7 +118,7 @@
{% if current_user.is_anonymous %}
Registration and log in
{% endif %}
- Workflow
+ Introduction video
@@ -174,7 +174,7 @@
{% if current_user.is_anonymous %}
Registration and log in
{% endif %}
- Workflow
+ Introduction video
@@ -187,26 +187,15 @@
{% endif %}
-