-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwelcome.html
More file actions
212 lines (189 loc) · 5.19 KB
/
Copy pathwelcome.html
File metadata and controls
212 lines (189 loc) · 5.19 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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html lang="en" data-mgr-theme-page>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gallery Reader</title>
<script src="i18n.js"></script>
<style>
:root {
color-scheme: light;
--page-bg: #f5f7fb;
--surface: #ffffff;
--border: #dde3ee;
--button-border: #cbd5e1;
--text: #1d2430;
--text-secondary: #3c4658;
--muted: #5b6678;
--accent: #0b7285;
--accent-soft: #e6fcf5;
--accent-border: #96f2d7;
--on-accent: #ffffff;
}
:root[data-mgr-theme="dark"] {
color-scheme: dark;
--page-bg: #17191d;
--surface: #24272c;
--border: #3b414a;
--button-border: #515965;
--text: #f1f3f5;
--text-secondary: #d9dee5;
--muted: #aeb7c4;
--accent: #55b9c8;
--accent-soft: #18363c;
--accent-border: #357d88;
--on-accent: #102126;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: var(--text);
background: var(--page-bg);
}
main {
width: min(920px, calc(100vw - 32px));
margin: 32px auto;
}
.header {
margin-bottom: 18px;
padding: 24px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
}
h1 {
margin: 0;
font-size: 30px;
letter-spacing: 0;
}
.subtitle {
margin: 10px 0 0;
color: var(--muted);
font-size: 15px;
line-height: 1.6;
}
.version {
display: inline-block;
margin-left: 8px;
padding: 3px 8px;
color: var(--accent);
background: var(--accent-soft);
border: 1px solid var(--accent-border);
border-radius: 6px;
font-size: 12px;
font-weight: 700;
vertical-align: middle;
}
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.panel {
padding: 18px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
}
h2 {
margin: 0 0 12px;
font-size: 16px;
letter-spacing: 0;
}
ul {
margin: 0;
padding-left: 18px;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.8;
}
.links {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 14px;
}
a.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 0 14px;
color: var(--on-accent);
background: var(--accent);
border-radius: 8px;
font-size: 13px;
font-weight: 700;
text-decoration: none;
}
a.button.secondary {
color: var(--text);
background: var(--surface);
border: 1px solid var(--button-border);
}
.note {
margin: 0;
color: var(--muted);
font-size: 14px;
line-height: 1.7;
}
@media (max-width: 700px) {
main {
margin: 18px auto;
}
.grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<main>
<section class="header">
<h1><span data-i18n="appName">Gallery Reader</span><span class="version" id="version">v-</span></h1>
<p class="subtitle" data-i18n="welcomeSubtitle">Modern multi-site reader (E-Hentai / ExHentai / nhentai / hitomi.la / Wnacg)</p>
</section>
<div class="grid">
<section class="panel">
<h2 data-i18n="features">Core Features</h2>
<ul>
<li data-i18n="multiSiteSupport">Multi-site support</li>
<li data-i18n="realLoadingProgress">Real image loading progress</li>
<li data-i18n="smartPreload">Smart image preloading</li>
<li data-i18n="progressMemory">Reading progress memory</li>
</ul>
</section>
<section class="panel">
<h2 data-i18n="siteSupport">Supported Sites</h2>
<ul>
<li>E-Hentai / ExHentai</li>
<li>nhentai.net / nhentai.xxx</li>
<li>hitomi.la</li>
<li>Wnacg / 紳士漫畫</li>
</ul>
</section>
<section class="panel">
<h2 data-i18n="installation">Install and Debug</h2>
<ul>
<li data-i18n="installStep1">Open chrome://extensions/</li>
<li data-i18n="installStep2">Enable Developer mode</li>
<li data-i18n="installStep3">Click "Load unpacked" and choose this project folder</li>
<li data-i18n="installStep4">After editing code, click the reload button on the extension card</li>
</ul>
</section>
<section class="panel">
<h2>Site Readers</h2>
<p class="note" data-i18n="hitomiNote">hitomi.la and Wnacg now take over native reader entries and use native image lists plus gallery thumbnails.</p>
<div class="links">
<a class="button" href="options.html" data-i18n="openOptions">Open Options</a>
<a class="button secondary" href="README.md" data-i18n="readReadme">Open README</a>
</div>
</section>
</div>
</main>
<script src="options.js"></script>
</body>
</html>