-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
89 lines (84 loc) · 1.99 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"/>
<meta name="Description" content="yieryi,lit-cesium">
<base href="/">
<style>
html,
body {
font-family: sans-serif;
background-color: #f2f2f2;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
cyber-earth {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#loadingOverlay {
position: absolute;
top: 0;
left: 0;
opacity: 1;
width: 100%;
height: 100%;
display: block;
z-index: 999;
background-color: #f2f2f2;
}
#loadingOverlay h1 {
text-align: center;
position: relative;
top: 50%;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading{
position: absolute;
top: 50%;
margin-top: -4em;
right: calc(50% - 1em);
border-top: 0.5em solid rgba(255, 128, 0, 0.2);
border-right: 0.5em solid rgba(255, 128, 0, 0.2);
border-bottom: 0.5em solid rgba(255, 128, 0, 0.2);
border-left: 0.5em solid rgba(255, 128, 0, 1);
animation: rotate 1.5s infinite linear;
border-radius: 50%;
width: 4em;
height: 4em;
}
</style>
<title>lit-cesiumh</title>
<script type="module" src="./src/index.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F97QRB4Z26"></script>
<script>
/* eslint-disable */
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F97QRB4Z26');
</script>
</head>
<body>
<lit-cesium></lit-cesium>
<div id="loadingOverlay">
<div class="loading"></div>
<h1>正在初始化......</h1>
</div>
</body>
</html>