forked from Nurbury/Github-Earth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (48 loc) · 1.22 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>GitHub-地球展示</title>
<style>
body {
padding: 0;
margin: 0;
}
.js-globe-popup {
border: solid 1px #fff;
z-index: 3;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
left: 0 !important;
top: 0 !important;
position: absolute !important;
color: #fff !important;
border-radius: 6px !important;
box-sizing: border-box;
font-size: 14px;
padding: 5px 10px;
}
.js-globe-popup a {
text-decoration: none;
color: #fff;
}
.d-none {
display: none;
}
</style>
</head>
<body>
<script src="./lib/signals.min.js"></script>
<script src="./lib/three.r125.js"></script>
<script src="./lib/OBJLoader.js"></script>
<div class="js-webgl-globe-data">
<div class="js-webgl-globe" style="height: 600px; width: 800px"></div>
</div>
<script
crossorigin="anonymous"
defer="defer"
src="./src/index.js"
type="module"
></script>
</body>
</html>