File size: 8,906 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
<html>
<head>
<meta charset="UTF-8">
<title>Reader UI Mock</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, 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: 110px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    font-weight: 600;
    font-size: 40px;
    box-sizing: border-box;
  }
  .sb-right {
    display: flex;
    align-items: center;
    gap: 26px;
  }
  .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #111;
    opacity: .9;
  }
  .battery {
    width: 54px; height: 28px; border: 3px solid #111; border-radius: 6px; position: relative;
  }
  .battery::after {
    content: "";
    position: absolute; right: -10px; top: 6px;
    width: 8px; height: 14px; background: #111; border-radius: 2px;
  }
  .battery .level {
    position: absolute; left: 3px; top: 3px; bottom: 3px; width: 32px; background: #111; border-radius: 3px;
  }

  /* App bar */
  .app-bar {
    position: absolute;
    top: 110px;
    left: 0;
    width: 1080px;
    height: 120px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 26px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
  }
  .title {
    font-size: 54px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .icon-btn {
    width: 84px; height: 84px;
    display: flex; align-items: center; justify-content: center;
    color: #111;
  }
  .icon { width: 46px; height: 46px; }

  /* Reading content */
  .content {
    position: absolute;
    top: 230px;
    left: 40px;
    right: 40px;
    bottom: 460px; /* leave space for sheet */
    overflow: hidden;
    padding: 10px 20px 0 20px;
    box-sizing: border-box;
  }
  .para {
    font-size: 46px;
    line-height: 72px;
    color: #222;
    letter-spacing: 0.2px;
  }
  .source {
    margin-top: 20px;
    color: #2b2b2b;
    font-size: 46px;
  }

  /* Bottom sheet */
  .bottom-sheet {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 440px;
    background: #ffffff;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
  }
  .handle {
    position: absolute; top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 10px; border-radius: 5px; background: #cfcfcf;
  }
  .promo {
    height: 150px;
    background: linear-gradient(90deg, #74a26a, #2b8b86);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    box-sizing: border-box;
    margin-top: 20px;
  }
  .upgrade-btn {
    background: #ffffff;
    color: #177e72;
    font-weight: 800;
    border-radius: 80px;
    padding: 18px 36px;
    font-size: 44px;
  }

  .controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
    align-items: start;
    padding: 26px 50px 0 50px;
  }
  .font-block {
    display: flex; gap: 24px;
    align-items: center;
  }
  .round-btn {
    width: 80px; height: 80px; border-radius: 50%;
    border: 6px solid #cfcfcf; color: #333; display: flex; align-items: center; justify-content: center;
    font-size: 64px; font-weight: 600;
    background: #fff;
  }
  .center-demo {
    display: flex; flex-direction: column; align-items: center; margin-top: -10px;
  }
  .center-demo .big-aa { font-size: 160px; font-weight: 700; color: #111; line-height: 1; }
  .center-demo .label { margin-top: 8px; font-size: 40px; color: #333; }
  .center-demo .dots { margin-top: 12px; display: flex; gap: 10px; }
  .dot-small { width: 16px; height: 16px; border-radius: 50%; background: #9e9e9e; }

  .theme-block { display: flex; align-items: center; gap: 28px; justify-content: flex-end; }
  .circle {
    width: 100px; height: 100px; border-radius: 50%;
    border: 6px solid #9bc77a; background: #fff;
  }
  .circle.beige { border-color: #e1d3bd; background: #e1d3bd; }
  .circle.black { border-color: #000; background: #000; }

  .tools {
    display: flex; justify-content: space-evenly; align-items: center; padding: 26px 70px 0 70px;
  }
  .tool {
    width: 90px; height: 90px; border-radius: 14px; border: 6px solid #bdbdbd; display: flex; align-items: center; justify-content: center; background: #fff;
    color: #888;
  }
  .tool.yellow { border-color: #b8cc68; color: #a0b44e; }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status Bar -->
  <div class="status-bar">
    <div>3:49</div>
    <div class="sb-right">
      <div class="dot"></div>
      <div class="dot" style="opacity:.6;"></div>
      <div class="battery"><div class="level"></div></div>
    </div>
  </div>

  <!-- App Bar -->
  <div class="app-bar">
    <div class="icon-btn" aria-label="Back">
      <svg class="icon" viewBox="0 0 24 24"><path d="M15.5 3.5L7 12l8.5 8.5" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
    </div>
    <div class="title">The War of the Wo...</div>
    <div class="icon-btn" aria-label="Search">
      <svg class="icon" viewBox="0 0 24 24"><circle cx="10" cy="10" r="7" stroke="#111" stroke-width="2" fill="none"/><path d="M15.5 15.5L21 21" stroke="#111" stroke-width="2" stroke-linecap="round"/></svg>
    </div>
    <div class="icon-btn" aria-label="Bookmark">
      <svg class="icon" viewBox="0 0 24 24"><path d="M6 3h12v18l-6-4-6 4V3z" fill="none" stroke="#111" stroke-width="2" stroke-linejoin="round"/></svg>
    </div>
    <div class="icon-btn" aria-label="Settings">
      <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="none" stroke="#111" stroke-width="2"/><path d="M4 12h3m10 0h3M6.5 6.5l2.1 2.1M15.4 15.4l2.1 2.1M6.5 17.5l2.1-2.1M15.4 8.6l2.1-2.1" stroke="#111" stroke-width="2" stroke-linecap="round"/></svg>
    </div>
  </div>

  <!-- Content -->
  <div class="content">
    <div class="para">
      Herbert George Wells, better known as H. G. Wells, was an English writer best known for such science fiction novels as The Time Machine, The War of the Worlds, The Invisible Man and The Island of Doctor Moreau. He was a prolific writer of both fiction and non-fiction, and produced works in many different genres, including contemporary novels, history, and social commentary. He was also an outspoken socialist. His later works become increasingly political and didactic, and only his early science fiction novels are widely read today. Wells, along with Hugo Gernsback and Jules Verne, is sometimes referred to as "The Father of Science Fiction".
    </div>
    <div class="source">Source: Wikipedia</div>
  </div>

  <!-- Bottom Sheet -->
  <div class="bottom-sheet">
    <div class="handle"></div>
    <div class="promo">
      <div>Go Premium</div>
      <div class="upgrade-btn">UPGRADE</div>
    </div>

    <div class="controls">
      <div class="font-block">
        <div class="round-btn"></div>
        <div class="round-btn">+</div>
      </div>

      <div class="center-demo">
        <div class="big-aa">Aa</div>
        <div class="label">Default</div>
        <div class="dots">
          <div class="dot-small"></div>
          <div class="dot-small" style="opacity:.6;"></div>
          <div class="dot-small" style="opacity:.3;"></div>
        </div>
      </div>

      <div class="theme-block">
        <div class="circle"></div>
        <div class="circle beige"></div>
        <div class="circle black"></div>
      </div>
    </div>

    <div class="tools">
      <div class="tool yellow">
        <!-- notes icon -->
        <svg viewBox="0 0 24 24" width="54" height="54">
          <rect x="4" y="4" width="16" height="16" fill="none" stroke="#9fb65a" stroke-width="2"/>
          <path d="M7 9h10M7 13h10M7 17h7" stroke="#9fb65a" stroke-width="2" stroke-linecap="round"/>
        </svg>
      </div>
      <div class="tool">
        <!-- brackets icon -->
        <svg viewBox="0 0 24 24" width="58" height="58">
          <path d="M7 5H4v14h3M17 5h3v14h-3" fill="none" stroke="#8a8a8a" stroke-width="2" stroke-linejoin="round"/>
        </svg>
      </div>
      <div class="tool">
        <!-- lines icon -->
        <svg viewBox="0 0 24 24" width="58" height="58">
          <rect x="5" y="4" width="14" height="16" rx="2" fill="none" stroke="#8a8a8a" stroke-width="2"/>
          <path d="M8 8h8M8 12h8M8 16h8" stroke="#8a8a8a" stroke-width="2" stroke-linecap="round"/>
        </svg>
      </div>
    </div>
  </div>

</div>
</body>
</html>