Browse Source

Update homepage video and style

pull/11/head
Jack Foltz 6 years ago
parent
commit
24ba7b6eb3
Signed by: foltik <jack@foltz.io> GPG Key ID: 303F88F996E95541
2 changed files with 2 additions and 6 deletions
  1. +1
    -3
      app/public/css/index.css
  2. +1
    -3
      public/views/index.html

+ 1
- 3
app/public/css/index.css View File

@@ -8,7 +8,7 @@ body {

a {
position: absolute;
top: 5px;
top: 40px;
left: 48%;
opacity: 0.1;
height: 30px;
@@ -34,8 +34,6 @@ video {
left: 50%;
min-width: 100%;
min-height: 100%;
width: 1920px;
height: 760px;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
background-size: cover;


+ 1
- 3
public/views/index.html View File

@@ -15,9 +15,7 @@
</video>
<script>
var videos = [
"/img/edge.mp4",
"/img/endthis.mp4",
"/img/hell.mp4"
"/img/edge.webm"
];
var video = document.createElement("source");
video.setAttribute("src", videos[Math.floor(Math.random() * videos.length)]);


Loading…
Cancel
Save