trying shiet out

This commit is contained in:
Set Sakrecoer 2019-04-28 21:42:31 +02:00
parent 959e888095
commit f0d76bd04c
3 changed files with 19 additions and 21 deletions

14
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
}
]
}

View file

@ -1,16 +1,6 @@
#hero { #hero {
video { height: 100vh;
position:fixed; width: 100vw;
right:0; -webkit-transition: background .5s ease-in-out;
bottom:0; transition: background .5s ease-in-out;
min-width:100%;
min-height:100%;
width:auto;
height:auto;
z-index:-100;
background:url(../../assets/img/bg/frontpage.jpg) no-repeat;
background-size:cover;
-webkit-transition:1s opacity;
transition:1s opacity;
}
} }

View file

@ -7,12 +7,6 @@ layout: default
--- ---
<div id="hero"> <div id="hero">
<h1>GREETINGS<br />ROBOT!</h1> <h1>GREETINGS<br />ROBOT!</h1>
<button id="video_pause">Pause<br />Video</button>
<video autoplay loop poster="{{ site.baseurl }}/assets/img/bg/frontpage.jpg" id="bgvid">
<source src="{{ site.baseurl }}/assets/vi/0001-0076.webm" type="video/webm">
<source src="{{ site.baseurl }}/assets/vi/0001-0076.mp4" type="video/mp4">
</video>
</div> </div>
<div> <div>
@ -23,7 +17,7 @@ layout: default
{% for post in site.categories.blog offset: 0 limit: 1 %} {% for post in site.categories.blog offset: 0 limit: 1 %}
<div> <div>
{{ post.content | strip_html | truncatewords: 250 }} {{ post.content }}
</div> </div>
{% endfor %} {% endfor %}