-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathjustfall.html
More file actions
66 lines (62 loc) · 1.97 KB
/
justfall.html
File metadata and controls
66 lines (62 loc) · 1.97 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Justfall.lol | C4</title>
<link rel="icon" type="image/x-icon" href="favicon.png">
<style>
body {
background: linear-gradient(to bottom, #0158a8, #000b6e);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
flex-direction: column;
}
#container {
position: relative;
}
#fullscreen-iframe {
width: 1000px;
height: 600px;
border: 5px solid rgb(255, 255, 255);
border-radius: 10px;
overflow: hidden;
}
#fullscreen-button {
position: absolute;
bottom: 0;
left: 20px;
margin: -20px;
}
#game-title {
background-color: rgb(255, 255, 255);
color: black;
border-radius: 10px;
padding: 15px 30px;
font-size: 24px;
font-weight: bold;
font-family: 'Trebuchet MS', Arial, sans-serif;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div id="game-title">Justfall LOL</div>
<div id="container">
<iframe id="fullscreen-iframe" src="/selfhosted/justfall-lol-main/justfall-lol-main/index.html" frameborder="0"></iframe>
<button id="fullscreen-button">Fullscreen</button>
</div>
<script>
document.getElementById('fullscreen-button').addEventListener('click', () => document.getElementById('fullscreen-iframe').requestFullscreen?.());
</script>
<script src='https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' async defer>
new Crate({
server: '1120506921036816537',
channel: '1120510313436028938'
})
</script>
</body>
</html>