-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (57 loc) · 2.07 KB
/
index.html
File metadata and controls
57 lines (57 loc) · 2.07 KB
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#3f5263">
<meta name="description" content="一个展示自编程动画效果的交互式网页">
<title>自我编程介绍</title>
<style id="style-tag"></style>
<!-- 加载状态样式 -->
<style>
#loading {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgb(63, 82, 99);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-family: monospace;
font-size: 16px;
z-index: 9999;
transition: opacity 0.5s;
}
#loading.hidden {
opacity: 0;
pointer-events: none;
}
#loading-spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(255,255,255,0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 15px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
<link rel="icon" type="image/png" sizes="32x32" href="./ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./ico/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="./ico/favicon-16x16.png">
<link rel="shortcut icon" href="./ico/favicon.ico" type="image/x-icon" />
</head>
<body spellcheck="false">
<div id="loading"><div id="loading-spinner"></div>加载中...</div>
<div id="content">
<pre contenteditable id="style-text"></pre>
<pre id="work-text"></pre>
<pre id="pgp-text"></pre>
</div>
<footer id="header" role="contentinfo"></footer>
<script src="./dist/app.js" onerror="document.getElementById('loading').innerHTML='<div style=\'text-align:center;color:red;\'>脚本加载失败<br>Failed to load script</div>'"></script>
</body>
</html>