50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>沙箱与网络授权动画 demo</title>
|
|
<link rel="stylesheet" href="/site-assets/astrion-avatar.css" />
|
|
<link rel="stylesheet" href="/site-assets/anim-sandbox.css" />
|
|
<style>
|
|
:root {
|
|
--bg-0: #0c1120;
|
|
--bg-1: #111830;
|
|
--text-1: #eef1f8;
|
|
--text-2: #a7b0c4;
|
|
--text-3: #6b7488;
|
|
--accent: #a9c2f0;
|
|
--accent-strong: #c1d4f6;
|
|
--ok: #7ba889;
|
|
--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
|
|
"Noto Sans SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
|
|
--font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
|
|
}
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 60%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-1);
|
|
}
|
|
.stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
|
|
.hint { font-size: 13px; color: var(--text-3); }
|
|
#anim2Window { width: 540px; height: 320px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="stage">
|
|
<p class="hint">点击顶部标签切换情节;再次点击当前标签重播。</p>
|
|
<div id="anim2Window"></div>
|
|
</div>
|
|
|
|
<script src="/site-assets/astrion-avatar.js"></script>
|
|
<script src="/site-assets/anim-sandbox.js"></script>
|
|
<script>AnimSandbox.init(document.getElementById('anim2Window'));</script>
|
|
</body>
|
|
</html>
|