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:
parent
f3af8ea53e
commit
24ba7b6eb3
@ -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;
|
||||
|
@ -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…
Reference in New Issue
Block a user