-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
85 lines (81 loc) · 4.5 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
<html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./fonts/RoGSans_sliced/font.css">
<link rel="stylesheet" type="text/css" href="./fonts/GlowSans/font.css">
<title class="i18n" data-i18n="title">蔚蓝档案标题生成器</title>
<script type="module" crossorigin="" src="./src/index.js"></script>
<link rel="stylesheet" href="./src/index.css">
</head>
<body>
<header>
<h1 class="i18n mt-8 mb-4 text-center font-bold" data-i18n="heading">蔚蓝档案标题生成器</h1>
</header>
<section class="canvas-wrapper flex place-content-center">
<div class="relative my-auto">
<canvas id="canvas" height="250" width="900"></canvas>
<div id="loading" class="absolute w-full h-full top-0 left-0 backdrop-blur-sm bg-slate-400/5 z-50 hidden">
<div class="flex place-content-center h-full">
<span class="loading loading-spinner loading-lg mx-auto"></span>
</div>
</div>
</div>
</section>
<section class="w-full mx-auto my-6 flex flex-col sm:w-[32rem]">
<div class="flex justify-center my-4 px-2">
<input id="textL" type="text" placeholder="Type here" value="Blue" class="input input-bordered input-md input-primary mr-1 w-40 max-w-[14rem] flex-1">
<input id="textR" type="text" placeholder="Type here" value="Archive" class="input input-bordered input-md input-secondary ml-1 w-40 max-w-[14rem] flex-1">
</div>
<div class="my-2">
<label class="cursor-pointer label justify-start mx-10">
<input type="checkbox" class="toggle toggle-primary" id="transparent">
<span class="i18n label-text text-base ml-4 mr-16" data-i18n="transparent-background">透明背景</span>
</label>
</div>
<div class="mx-6 my-4">
<div class="collapse collapse-arrow bg-base-100">
<input type="checkbox">
<div class="i18n collapse-title font-medium" data-i18n="advance">高级设置</div>
<div class="collapse-content">
<div class="i18n" data-i18n="halo-cross">光环位置微调</div>
<div class="flex justify-evenly my-4">
<span class="flex-1"><span class="mr-2">X</span><input type="number" placeholder="Type here" value="-15" class="input input-bordered input-sm input-primary w-32 mr-2" id="graphX"></span>
<span class="flex-1"><span class="mr-2">Y</span><input type="number" placeholder="Type here" value="0" class="input input-bordered input-sm input-primary w-32" id="graphY"></span>
</div>
</div>
</div>
</div>
<div class="flex justify-evenly my-4">
<span><button class="i18n btn btn-primary" id="save" data-i18n="save">保存</button></span>
<span><button class="i18n btn btn-primary" id="copy" data-i18n="copy">复制</button></span>
</div>
<label class="swap cursor-default">
<input type="checkbox" disabled="" id="message-switch">
<div class="alert alert-success swap-on">
<svg xmlns="http://www.w3.org/2000/svg" class="stroke-current shrink-0 h-6 w-6" fill="none" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
<span class="i18n font-medium" data-i18n="copy-success">图片已成功复制</span>
</div>
</label>
</section>
<footer>
<section class="w-full mx-auto my-8 sm:w-96 px-4">
<h2 class="i18n text-2xl font-bold leading-loose" data-i18n="font-title">使用的字体</h2>
<ul class="list-disc leading-relaxed text-lg font-normal mb-8 px-6">
<li>
<span class="i18n" data-i18n="main-font">主要字体:</span>
<a href="https://www.morisawa.co.jp/fonts/specimen/1646" target="_blank">RoG2サンセリフStd B</a>
</li>
<li>
<span class="i18n" data-i18n="fallback-font">Fallback 字体:</span>
<a href="https://github.com/welai/glow-sans" target="_blank" class="i18n" data-i18n="glow">未来荧黑</a>
</li>
</ul>
<h2 class="i18n text-2xl font-bold leading-loose" data-i18n="github-repo">GitHub 仓库</h2>
<a href="https://github.com/nulla2011/Bluearchive-logo" target="_blank" class="text-md">https://github.com/nulla2011/Bluearchive-logo</a>
<h2 class="i18n text-2xl font-bold leading-loose" data-i18n="adapter-repo">改编者</h2>
<a href="https://github.com/ldcivan" target="_blank" class="text-md">Yujio_Nako</a>
</section>
</footer>
</body></html>