-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhovertext-github-public-summary.html
More file actions
286 lines (256 loc) · 6.73 KB
/
hovertext-github-public-summary.html
File metadata and controls
286 lines (256 loc) · 6.73 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HoverText GitHub 发布总结</title>
<style>
:root {
color-scheme: light;
--ink: #17202a;
--muted: #5d6b7a;
--line: #d8e2ea;
--blue: #1468c7;
--green: #1f8a5b;
--amber: #a35f00;
--panel: #ffffff;
--wash: #f4f8fb;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
color: var(--ink);
background: linear-gradient(180deg, #eef6fb 0%, #ffffff 58%);
}
main {
width: min(1120px, calc(100% - 32px));
margin: 0 auto;
padding: 40px 0 48px;
}
.hero {
display: grid;
grid-template-columns: 1.15fr 0.85fr;
gap: 28px;
align-items: stretch;
padding: 28px;
border: 1px solid var(--line);
border-radius: 8px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 18px 50px rgba(32, 62, 92, 0.12);
}
h1 {
margin: 0 0 12px;
font-size: clamp(34px, 5vw, 58px);
line-height: 1.02;
letter-spacing: 0;
}
.subtitle {
margin: 0 0 22px;
max-width: 720px;
color: var(--muted);
font-size: 18px;
line-height: 1.7;
}
.badges {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.badge {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 7px 12px;
border-radius: 999px;
border: 1px solid var(--line);
background: #f7fbfe;
color: #22425f;
font-weight: 700;
font-size: 13px;
}
.screen {
border: 1px solid #b9c9d8;
border-radius: 8px;
background: #0f1720;
padding: 18px;
min-height: 260px;
display: grid;
align-content: center;
gap: 14px;
color: white;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tiny-line {
height: 10px;
border-radius: 10px;
background: #42566b;
}
.tiny-line:nth-child(2) {
width: 72%;
}
.tiny-line:nth-child(3) {
width: 58%;
}
.floating-text {
margin-top: 10px;
padding: 18px 20px;
border: 2px solid #8bd0ff;
border-radius: 8px;
background: #ffffff;
color: #0c1c28;
font-size: 34px;
line-height: 1.1;
font-weight: 800;
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin-top: 22px;
}
.card {
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel);
padding: 18px;
}
.card h2,
.card h3 {
margin: 0 0 10px;
font-size: 20px;
letter-spacing: 0;
}
.card p {
margin: 0;
color: var(--muted);
line-height: 1.65;
font-size: 15px;
}
.status {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
margin-top: 16px;
}
.metric {
border-radius: 8px;
padding: 16px;
background: var(--wash);
border: 1px solid var(--line);
}
.metric strong {
display: block;
margin-bottom: 6px;
font-size: 24px;
color: var(--blue);
}
.metric span {
color: var(--muted);
font-size: 13px;
}
.wide {
grid-column: span 2;
}
.link {
color: var(--blue);
font-weight: 800;
text-decoration: none;
}
.footer {
margin-top: 22px;
padding: 18px;
border-left: 5px solid var(--green);
background: #f2fbf6;
border-radius: 8px;
color: #214536;
line-height: 1.65;
}
@media (max-width: 820px) {
.hero,
.grid,
.status {
grid-template-columns: 1fr;
}
.wide {
grid-column: span 1;
}
}
</style>
</head>
<body>
<main>
<section class="hero">
<div>
<h1>HoverText 已公开发布</h1>
<p class="subtitle">
GitHub 首页已经改成中英双语版本,核心定位清楚放在第一屏:
为视力障碍和低视力 Windows 用户补上类似 Apple Hover Text 的悬浮文字辅助体验。
</p>
<div class="badges" aria-label="发布标签">
<span class="badge">GitHub Public</span>
<span class="badge">Chinese + English</span>
<span class="badge">Windows Accessibility</span>
<span class="badge">.NET 8 WPF</span>
</div>
</div>
<div class="screen" aria-label="悬浮文字示意">
<div class="tiny-line"></div>
<div class="tiny-line"></div>
<div class="tiny-line"></div>
<div class="floating-text">Clearer text, right where you look.</div>
</div>
</section>
<section class="grid" aria-label="成果摘要">
<article class="card">
<h2>公开状态</h2>
<p>仓库已经从 private 切换为 public,匿名 API 和 GitHub 页面均验证可访问。</p>
</article>
<article class="card">
<h2>首页叙事</h2>
<p>README 强调 Apple 有 Hover Text,而 Windows 缺少同类轻量体验,HoverText 正是为这个缺口而做。</p>
</article>
<article class="card">
<h2>中英双语</h2>
<p>中文面向国内用户解释价值,英文面向开源社区说明场景、功能和项目状态。</p>
</article>
</section>
<section class="status" aria-label="验证指标">
<div class="metric">
<strong>200</strong>
<span>匿名 GitHub API 访问状态</span>
</div>
<div class="metric">
<strong>Public</strong>
<span>GitHub 仓库可见性</span>
</div>
<div class="metric">
<strong>983fb57</strong>
<span>首页提交版本</span>
</div>
<div class="metric">
<strong>7</strong>
<span>已设置仓库 topics</span>
</div>
</section>
<section class="grid" aria-label="首页内容结构">
<article class="card wide">
<h3>GitHub 地址</h3>
<p>
<a class="link" href="https://github.com/ferhas/hovertext">https://github.com/ferhas/hovertext</a>
</p>
</article>
<article class="card">
<h3>下一步可做</h3>
<p>后续最值得补的是 Release 包、安装说明截图,以及面向低视力用户的实际使用演示图。</p>
</article>
</section>
<div class="footer">
结果:项目已经可以作为公开开源项目被访问,首页第一屏就能说明“这是为 Windows 用户补足 Hover Text 辅助体验”的价值。
</div>
</main>
</body>
</html>