1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-05 15:58:03 -05:00

Update homepage video and style

This commit is contained in:
Jack Foltz 2018-01-13 17:59:07 -05:00
parent f3af8ea53e
commit 24ba7b6eb3
Signed by: foltik
GPG Key ID: 303F88F996E95541
2 changed files with 2 additions and 6 deletions

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;

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)]);