This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
foltik
/
shimapan
mirror of
https://github.com/Foltik/Shimapan
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Update homepage video and style
pull/11/head
Jack Foltz
6 years ago
parent
f3af8ea53e
commit
24ba7b6eb3
Signed by:
foltik
<jack@foltz.io>
GPG Key ID:
303F88F996E95541
2 changed files
with
2 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
app/public/css/index.css
+1
-3
public/views/index.html
+ 1
- 3
app/public/css/index.css
View File
@@ -8,7 +8,7 @@ body {
a {
position: absolute;
top:
5
px;
top:
40
px;
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)]);
Write
Preview
Loading…
Cancel
Save