This commit is contained in:
Set Hallstrom 2020-01-28 13:47:38 +01:00
parent c3176b52a0
commit 8f519ed75f
2 changed files with 6 additions and 5 deletions

View file

@ -79,7 +79,9 @@ a:hover {
font-size: 1em;
line-height: .8em;
}
video {
opacity: .5;
}
.fullscreen-bg {
position: fixed;
top: 0;

View file

@ -1,7 +1,7 @@
---
title: Greetings Robot!
description: 'This is the motherweb of Sakrecoer. Music, art, thoughts and passion from innerspace.'
image: /siteicon.png
image: /assets/img/sakrecoer-logo2.svg
mp4_path: /assets/vi/0001-0076.mp4
webm_path: /assets/vi/0001-0076.webm
---
@ -22,9 +22,8 @@ webm_path: /assets/vi/0001-0076.webm
<h1><a href="/music/" alt="Music of Sakrecoer">Music</a></h1>
</div>
<div class="fullscreen-bg">
<video loop muted autoplay poster="{{ site.baseurl }}/assets/img/sakrecoer-logo2.svg" class="fullscreen-bg__video">
<source src="{{ site.baseurl }}{{ page.webm_path }}" type="video/webm">
<source src="{{ site.baseurl }}{{ page.mp4_path }}" type="video/mp4">
<video loop muted poster="{{ site.baseurl }}/assets/img/sakrecoer-logo2.svg" class="fullscreen-bg__video">
</video>
</div>
</div>