mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-08 00:49:37 -05:00
Update homepage video and style
This commit is contained in:
parent
f3af8ea53e
commit
24ba7b6eb3
@ -8,7 +8,7 @@ body {
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 40px;
|
||||||
left: 48%;
|
left: 48%;
|
||||||
opacity: 0.1;
|
opacity: 0.1;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@ -34,8 +34,6 @@ video {
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
width: 1920px;
|
|
||||||
height: 760px;
|
|
||||||
z-index: -100;
|
z-index: -100;
|
||||||
transform: translateX(-50%) translateY(-50%);
|
transform: translateX(-50%) translateY(-50%);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -15,9 +15,7 @@
|
|||||||
</video>
|
</video>
|
||||||
<script>
|
<script>
|
||||||
var videos = [
|
var videos = [
|
||||||
"/img/edge.mp4",
|
"/img/edge.webm"
|
||||||
"/img/endthis.mp4",
|
|
||||||
"/img/hell.mp4"
|
|
||||||
];
|
];
|
||||||
var video = document.createElement("source");
|
var video = document.createElement("source");
|
||||||
video.setAttribute("src", videos[Math.floor(Math.random() * videos.length)]);
|
video.setAttribute("src", videos[Math.floor(Math.random() * videos.length)]);
|
||||||
|
Loading…
Reference in New Issue
Block a user