-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (136 loc) · 3.98 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Key Lang</title>
<link rel="stylesheet" href="/asset/global.css">
<link rel="stylesheet" href="/asset/prism-subkey.css">
<link rel="shortcut icon" href="/asset/favicon.svg" type="image/x-icon">
</head>
<body>
<!-- 页头 -->
<header>
<ico id="header-back"></ico>
<img src="/asset/favicon.svg" alt="logo">
<h2>文档 - Key Lang</h2>
<buts>
<but>语法</but>
<but>类型</but>
<but>开发</but>
<but>关于</but>
</buts>
<mobile-menu><ico></ico></mobile-menu>
</header>
<!-- 内容 -->
<main>
<nav></nav>
<article></article>
<scroll></scroll>
<para></para>
</main>
<!-- 关于 -->
<about style="transform: translateX(-200%);">
<bg></bg>
<svg id="loading-svg" xmlns='http://www.w3.org/2000/svg' viewBox="0 0 64 64">
<defs>
<linearGradient id="svg-linear-triangle" gradientTransform="rotate(30)">
<stop offset="0%" stop-color="#799" />
<stop offset="100%" stop-color="#abb" />
</linearGradient>
<linearGradient id="svg-linear-circle" gradientTransform="rotate(30)">
<stop offset="0%" stop-color="#eff" />
<stop offset="100%" stop-color="#cee" />
</linearGradient>
</defs>
<style>
about ellipse {
fill: #000;
opacity: 0.3;
animation: loading-svg-ellipse 3s infinite;
}
@keyframes loading-svg-ellipse {
0%, 20% {opacity: 0.3;}
50% {opacity: 0;}
80%, 100% {opacity: 0.3;}
}
about g {
stroke: url(#svg-linear-triangle);
stroke-width: 4px;
fill: none;
stroke-dasharray: 137;
stroke-dashoffset: 0;
stroke-linecap: round;
animation: loading-svg-triangle 3s infinite;
}
@keyframes loading-svg-triangle {
0%, 20% {
stroke-width: 2px;
stroke-dashoffset: -10;
}
50% {
stroke-width: 0px;
}
80%, 100% {
stroke-width: 2px;
stroke-dashoffset: 264;
}
}
about circle {
fill: url(#svg-linear-circle);
animation: loading-svg-circle 3s infinite;
transform-origin: 0 0;
}
@keyframes loading-svg-circle {
0%, 20% {
transform: rotate(0);
opacity: 1;
}
50% {
transform: rotate(10deg);
opacity: 0;
}
51% {
transform: rotate(-10deg);
opacity: 0;
}
80%, 100% {
transform: rotate(0deg);
opacity: 1;
}
}
</style>
<!-- 背后椭圆 -->
<ellipse cx="32" cy="26.5" rx="25" ry="1.5"/>
<!-- 三角形 -->
<g>
<polygon points="56,48 8,48 32,8"/>
<polygon points="8,5 56,5 32,45"/>
</g>
<!-- 中心圆 -->
<circle cx="32" cy="26.5" r="7"/>
</svg>
<h1>Key Lang</h1>
<p><ico></ico>To be the prettiest and simpliest script</p>
<links>
<a target="_blank" href="https://github.com/Bylx666/key-lang"><ico></ico>Github</a>
<a target="_blank" href="https://space.bilibili.com/525849858"><ico></ico>Bilibili</a>
</links>
</about>
<!-- 404 -->
<article id="p404">
<h1>404</h1>
<p>似乎并没有该页面</p>
<p>
<img src="/asset/404.jpg" alt="404">
</p>
<ret><d onclick="history.back()">返回</d><d onclick="rout.push('/');rout.go('/');">主页</d></ret>
</article>
<click-effect></click-effect>
<script src="/asset/marked.min.js"></script>
<script src="/asset/prism-core.min.js"></script>
<script src="/asset/prism-rust.min.js"></script>
<script src="/asset/prism-ks.js"></script>
<script src="/asset/main.js"></script>
</body>
</html>