-
Notifications
You must be signed in to change notification settings - Fork 29
/
index.html
94 lines (85 loc) · 2.64 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
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Moonight</title>
<style>
html, body {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
margin: 0;
font-family: 'xiaowei';
overflow: hidden;
}
#main-svg {
position: absolute;
left: 50%;
top: 50%;
width: 400px;
height: 400px;
margin-left: -200px;
margin-top: -240px;
max-width: 100%;
background: #fff;
}
#gui {
position: absolute;
left: 50%;
top: 50%;
width: 400px;
height: 80px;
margin-top: 160px;
margin-left: -200px;
}
.full-img {
position: absolute;
width: 100%;
z-index: 1000;
}
.out-content-group {
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}
#hint {
display: none;
position: absolute;
z-index: 2000;
width: 100%;
text-align: center;
top: 20px;
font-size: 18px;
}
</style>
</head>
<body>
<svg id="main-svg"></svg>
<svg id="gui"></svg>
<div id="hint">长按保存图片</div>
<script>
if (!window.MediaRecorder) {
document.write(decodeURI('%3Cscript src="https://webserver-1256209664.cos.ap-shanghai.myqcloud.com/moonight/polyfill.js">%3C/script>'));
}
</script>
<script src="https://webserver-1256209664.cos.ap-shanghai.myqcloud.com/moonight/app.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-38205696-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-38205696-2');
</script>
<style>
@font-face {
font-family: 'xiaowei';
src: url('https://webserver-1256209664.cos.ap-shanghai.myqcloud.com/moonight/xiaowei.woff') format('woff'),
url('https://webserver-1256209664.cos.ap-shanghai.myqcloud.com/moonight/xiaowei.otf') format('opentype'),
url('https://webserver-1256209664.cos.ap-shanghai.myqcloud.com/moonight/xiaowei.ttf') format('truetype');
}
</style>
</body>
</html>