-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
118 lines (114 loc) · 2.91 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
layout: default
title: 404 ._.
descr: the content you are looking for may not exist
active: 404
permalink: /404.php
---
<!DOCTYPE animu>
<html>
<head>
<style>
#video {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
overflow: hidden;
}
#video > video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media (min-aspect-ratio: 16/9) {
#video > a > video { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
#video > a > video { width: 300%; left: -100%; }
}
@supports (object-fit: cover) {
#video > a >video {
top: 0; left: 0;
width: 100%; height: 100%;
object-fit: cover;
}
}
/* weeb Header Style */
@font-face {
font-family: "qt";
src: url(https://dr0p.it/n4kl.ttf) format("truetype");
}
.weeb-top {
line-height: 24px;
padding-top: 5px;
font-size: 30px;
background: #fff;
background: rgba(33, 33, 33, 0.9);
text-transform: uppercase;
z-index: 9999;
position: absolute;
width: 100%;
top: 0;
left: 0;
font-family: 'qt';
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.weeb-top a {
padding: 0px 10px;
letter-spacing: 1px;
color: #bfbfbf;
display: inline-block;
text-decoration: none;
}
.weeb-top a:hover {
background: none;
color: pink;
}
.weeb-top span.right{
float: right;
padding-right: 5px;
}
.weeb-top span.center{
float: center;
}
.weeb-top span.right a{
float: left;
display: block;
}
</style>
</head>
<body>
<div class="weeb-top">
<a href="https://weeb.land">weeb.land</a>
<span class="center">
<input type=range id=volume min=0 max=1 step=0.1 value=0.5 onchange='AdjustVolume(video,this.value)'>
<span class="right">
<a href="https://w0bm.com">w0bm.com</a>
<div class="clr"></div>
</span>
</div>
<div id="video">
<a href="/"><video autoplay loop id="animu" src="<?php $faggotShit = file('webm.txt'); $faggotShit = array_combine($faggotShit, $faggotShit); echo $faggotShit[array_rand($faggotShit)]; ?>" type="video/webm"></video></a>
</div>
<script>
//check if volume is stored, else set at half volume and call it a day wewlad
if (localStorage.getItem('volume') != null) {
var video = document.getElementById('animu');
video.volume = localStorage.getItem('volume');
} else if (localStorage.getItem('volume') == null) {
var video = document.getElementById('animu');
video.volume = 0.5;
}
//set current volume slider volume
document.getElementById("volume").value = video.volume
//some varible because i cba to neat it up and shove it into the function below
var video = document.getElementById('animu');
//when you move that shit slider this happens
function AdjustVolume(video,value) {
video.volume = value;
localStorage.setItem('volume', video.volume);
}
</script>
</body>
</html>