-
Notifications
You must be signed in to change notification settings - Fork 24
/
geostory-embedded-template.html
124 lines (124 loc) · 3.98 KB
/
geostory-embedded-template.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Geostory Embedded</title>
<style>
body {
margin: 0;
}
._ms2_init_center {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: show;
margin: auto;
display: flex;
align-items: center;
}
._ms2_init_spinner {
height: 176px;
width: 176px;
}
._ms2_init_spinner > div,
._ms2_init_spinner > div:after {
border-radius: 50%;
width: 176px;
height: 176px;
}
._ms2_init_spinner > div {
box-sizing: border-box;
text-indent: -9999em;
border: 16px solid rgba(119,119,119, 0.2);
border-left: 16px solid #777777;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation: _ms2_init_anim 1.1s infinite linear;
animation: _ms2_init_anim 1.1s infinite linear;
}
@-webkit-keyframes _ms2_init_anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes _ms2_init_anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
._ms2_init_text {
-webkit-animation: _ms2_init_text_anim 2s linear 0s infinite normal;
animation: _ms2_init_text_anim 2s linear 0s infinite normal;
color: #6F6F6f;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 20px;
font-weight: bold;
height: 0.75em;
width: 6em;
text-align: center;
margin: auto;
z-index: 1000;
}
@keyframes _ms2_init_text_anim {
0% {opacity: 0}
20% {opacity: 0}
50% {opacity: 1}
70% {opacity: .75}
100%{opacity: 0}
}
body {
margin: 0;
}
#container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
<!--script src="https://maps.google.com/maps/api/js?v=3"></script-->
<script src="https://unpkg.com/[email protected]/es5.js"
async integrity="sha384-CWiXbo5RNu6nv9tiCWA2y1DQKjEQDDH+yFQga1FytuIZjOTcVr+4ojw2S2lShj/d" crossorigin="anonymous"
onload="checkBrowser()"></script>
<script type="text/javascript">
function checkBrowser() {
var browserInfo = bowser.getParser(window.navigator.userAgent);
var isValidBrowser = browserInfo.satisfies({
"edge": ">1",
"chrome": ">1",
"safari": ">1",
"firefox": ">1"
});
if (!isValidBrowser) {
window.location.href = "unsupportedBrowser.html"
document.querySelector("container").style.display = "none";
}
}
</script>
</head>
<body>
<div id="container">
<div class="_ms2_init_spinner _ms2_init_center"><div></div></div>
<div class="_ms2_init_text _ms2_init_center">Loading</div>
</div>
</body>
</html>