File size: 8,054 Bytes
fa881a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Reader UI - Text Settings Overlay</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width: 1080px;
    height: 2400px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
  }

  /* Status bar */
  .status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 1080px;
    height: 120px;
    background: #000;
    color: #fff;
    font-size: 40px;
    display: flex;
    align-items: center;
    padding: 0 36px;
    box-sizing: border-box;
  }
  .status-left { flex: 1; display: flex; align-items: center; gap: 24px; }
  .status-right { display: flex; align-items: center; gap: 30px; }

  /* Simple icons */
  .icon {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .icon svg { width: 44px; height: 44px; fill: #fff; }

  /* Page content (book cover text approximation) */
  .page {
    position: absolute;
    top: 120px; /* below status bar */
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 72px;
    box-sizing: border-box;
    text-align: left;
  }
  .title-big {
    font-size: 160px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 40px 0 10px 0;
  }
  .author {
    font-size: 86px;
    font-weight: 800;
    color: #7b1c1b;
    text-align: center;
    margin: 140px 0 60px 0;
  }
  .oreilly {
    width: 520px;
    height: 120px;
    margin: 0 auto 50px auto;
    background: #E0E0E0;
    border: 1px solid #BDBDBD;
    color: #757575;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
  }
  .cities {
    font-size: 44px;
    color: #333;
    text-align: center;
    line-height: 1.6;
  }

  /* Bottom gesture pill */
  .home-pill {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 16px;
    background: #9E9E9E;
    border-radius: 16px;
    opacity: 0.7;
  }

  /* Floating settings card */
  .settings-card {
    position: absolute;
    left: 70px;
    top: 310px;
    width: 940px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    z-index: 5;
    padding: 26px 0 24px 0;
  }
  .tabs {
    display: flex;
    padding: 0 34px;
    gap: 40px;
    font-size: 44px;
    font-weight: 600;
    color: #999;
  }
  .tab-active {
    color: #1e88e5;
    position: relative;
  }
  .tab-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 88px;
    height: 6px;
    background: #1e88e5;
    border-radius: 3px;
  }
  .divider {
    margin-top: 28px;
    border-top: 1px solid #e5e5e5;
  }
  .font-row {
    display: flex;
    gap: 26px;
    padding: 28px 24px 10px 24px;
    overflow: hidden;
  }
  .font-option {
    width: 216px;
    text-align: center;
  }
  .font-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid #D9D9D9;
    background: #fff;
    margin: 0 auto 14px auto;
    display: flex; align-items: center; justify-content: center;
    color: #616161;
    font-size: 96px;
    font-weight: 700;
  }
  .font-option.active .font-circle {
    background: #2f6ecf;
    color: #fff;
    border-color: #2f6ecf;
  }
  .font-label {
    font-size: 34px;
    color: #4f4f4f;
  }

  .controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    padding: 22px 28px;
  }
  .control-box {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .btn-rect {
    width: 170px; height: 110px;
    border-radius: 14px;
    border: 2px solid #DADADA;
    display: flex; align-items: center; justify-content: center;
    color: #555; font-weight: 700; font-size: 64px;
    background: #fff;
  }
  .percent {
    font-size: 40px; color: #7b7b7b; min-width: 100px;
  }
  .align-btn {
    width: 170px; height: 110px;
    border-radius: 14px;
    border: 2px solid #DADADA;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
  }
  .align-btn svg { width: 72px; height: 72px; fill: #666; }

  .bottom-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 28px 8px 28px;
    margin-top: 6px;
  }
  .bottom-row .hamburger svg { fill: #6d6d6d; }
  .bottom-row .label {
    font-size: 44px;
    color: #333;
  }
  .chevron {
    margin-left: auto;
    width: 44px; height: 44px;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div class="status-left">
      <div>11:05</div>
      <span class="icon">
        <svg viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm2 4h14v2H5v-2zm-1 4h16v2H4v-2z"/></svg>
      </span>
      <span class="icon">
        <svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 5v6l5 3-.9 1.5L11 14V7h2z"/></svg>
      </span>
      <span class="icon">
        <svg viewBox="0 0 24 24"><path d="M6 2h9a2 2 0 012 2v16l-6-3-6 3V4a2 2 0 012-2z"/></svg>
      </span>
    </div>
    <div class="status-right">
      <span class="icon">
        <svg viewBox="0 0 24 24"><path d="M12 3a6 6 0 016 6h-2a4 4 0 00-8 0H6a6 6 0 016-6zm0 18c-3.3 0-6-2.7-6-6h2a4 4 0 008 0h2c0 3.3-2.7 6-6 6z"/></svg>
      </span>
      <span class="icon">
        <svg viewBox="0 0 24 24"><path d="M16 4H8a2 2 0 00-2 2v14l6-3 6 3V6a2 2 0 00-2-2z"/></svg>
      </span>
    </div>
  </div>

  <!-- Page (book cover approximation) -->
  <div class="page">
    <div class="title-big">Reactive</div>
    <div class="title-big">Architecture</div>

    <div class="author">Mike Barlow</div>

    <div class="oreilly">[IMG: O鈥橰eilly Logo]</div>

    <div class="cities">
      Beijing 路 Cambridge 路 Farnham 路 K枚ln 路 Sebastopol<br>
      路 Tokyo
    </div>
  </div>

  <!-- Floating settings card -->
  <div class="settings-card">
    <div class="tabs">
      <div class="tab-active">Text</div>
      <div>Lighting</div>
    </div>
    <div class="divider"></div>

    <!-- Font choices -->
    <div class="font-row">
      <div class="font-option active">
        <div class="font-circle">A</div>
        <div class="font-label">Original</div>
      </div>
      <div class="font-option">
        <div class="font-circle" style="color:#444;">A</div>
        <div class="font-label">Sans</div>
      </div>
      <div class="font-option">
        <div class="font-circle" style="color:#555;">A</div>
        <div class="font-label">Literata</div>
      </div>
      <div class="font-option">
        <div class="font-circle" style="color:#666;">A</div>
        <div class="font-label">Merri...</div>
      </div>
    </div>

    <!-- Controls grid -->
    <div class="controls">
      <div class="control-box">
        <div class="btn-rect">T</div>
        <div class="percent">100%</div>
      </div>
      <div class="control-box">
        <div class="btn-rect">T</div>
        <div class="percent">100%</div>
      </div>
      <div class="control-box">
        <div class="align-btn">
          <svg viewBox="0 0 24 24"><path d="M3 4h18v2H3V4zm2 4h14v2H5V8zm-2 4h18v2H3v-2zm2 4h14v2H5v-2z"/></svg>
        </div>
        <div class="percent">100%</div>
      </div>
      <div class="control-box">
        <div class="align-btn">
          <svg viewBox="0 0 24 24"><path d="M4 4h16v2H4V4zm0 6h12v2H4v-2zm0 6h16v2H4v-2z"/></svg>
        </div>
        <div class="percent">100%</div>
      </div>
    </div>

    <div class="bottom-row">
      <div class="hamburger icon" style="width:56px;height:56px;">
        <svg viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm0 5h14v2H3v-2zm0 5h18v2H3v-2z"/></svg>
      </div>
      <div class="label">Default</div>
      <div class="chevron">
        <svg viewBox="0 0 24 24"><path fill="#888" d="M7 10l5 5 5-5H7z"/></svg>
      </div>
    </div>
  </div>

  <!-- Bottom gesture pill -->
  <div class="home-pill"></div>
</div>
</body>
</html>