-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
137 lines (127 loc) · 3.04 KB
/
index.html
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
padding: 0;
}
#statusContainer {
text-transform: uppercase;
font-family: 'Metropolis';
font-style: italic;
font-weight: bold;
font-size: 30px;
width: 400px;
max-width: fit-content;
text-align: center;
background-color: #D12025;
color: white;
padding: 10px;
border-radius: 10px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#timerBar {
width: 0px;
}
#hugeTittiesContainer {
font-family: 'Metropolis';
font-weight: bold;
background-color: rgba(0, 0, 0, .4);
padding: 12px;
border-radius: 10px;
position: absolute;
margin: 50px;
opacity: 0;
display: table;
}
#label {
font-size: 20px;
font-weight: bold;
max-width: fit-content;
text-align: center;
display: inline-block;
background-color: #a970ff;
color: #ffffff;
padding: 10px;
border-radius: 10px;
display: table-cell;
}
#timerLabel {
font-size: 20px;
max-width: fit-content;
text-align: center;
display: inline-block;
color: white;
padding: 10px 0px 10px 10px;
display: table-cell;
}
#midRollContainer {
font-family: 'Metropolis';
font-size: 20px;
max-width: fit-content;
text-align: center;
display: inline-block;
background-color: #000000CC;
color: #FFFFFF;
padding: 10px 20px;
border-radius: 10px;
display: table-cell;
position: absolute;
bottom: 15%;
right: -100%;
}
#midRollCountdownContainer {
font-size: 40px;
font-weight: bold;
margin: 10px 0px 0px 0px;
}
.hidden {
display: none;
}
#setupContainer {
text-align: center;
}
#setupContainer a {
padding: 0px 50px;
margin: 3px;
border: 2px solid DimGrey;
color: white;
background-color: DarkSlateGrey;
box-shadow: 0 5px 15px rgba(0,0,0,0.20);
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/metropolis.min.css" />
<meta http-equiv="Content-Security-Policy" content="connect-src *" />
</head>
<body>
<div id="setupContainer"></div>
<div id="statusContainer">Connecting...</div>
<div id="mainContainer">
<div id="timerBar"></div>
</div>
<div id="hugeTittiesContainer">
<div id="label">
</div>
<div id="timerLabel">
<span id="adsRemainingContainer"></span> • <span id="timerContainer"></span>
</div>
</div>
<div id="midRollContainer">
<div id="midRollStartingInLabel">Ads starting in...</div>
<div id="midRollCountdownContainer"></div>
</div>
<audio id="adAudioNoise" src="./sounds/adsPlaying.mp3"></audio>
<audio id="adMidrollStartingNoise" src="./sounds/adsIncoming.mp3"></audio>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mitchwadair/tesjs@v1.0.4/dist/tes.min.js"></script>
<script src="./config.js"></script>
<script src="./utils.js"></script>
<script src="./connectors.js"></script>
<script src="./main.js"></script>
</html>