-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
54 lines (48 loc) · 1.18 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Arcade Points Calculator</title>
<style>
body {
margin: 0;
padding: 0;
width: 420px;
height: 415px;
overflow: hidden;
}
#loading {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
background-color: #374151;
color: white;
font-weight: 600;
font-size: 2rem;
font-family: Verdana, Geneva, Tahoma, sans-serif;
position: absolute;
top: 0;
left: 0;
z-index: 9999;
transition: opacity 1s ease-out;
}
#loading.hidden {
opacity: 0;
/* Hides the loader */
pointer-events: none;
/* Prevents interactions */
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
<div id="loading">Welcome</div>
<iframe src="https://arcadepoints.vercel.app/"></iframe>
<script src="popup.js"></script>
</body>
</html>