File size: 3,040 Bytes
0e1717f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Reading App UI</title>
<style>
  body { margin:0; padding:0; background:transparent; }
  #render-target {
    width:1080px; height:2400px;
    position:relative; overflow:hidden;
    background:#D8C4A6; /* paper-like beige */
    font-family: Georgia, "Times New Roman", serif;
  }

  /* Status bar */
  .status-bar {
    position:absolute; top:0; left:0; right:0;
    height:120px; background:#000;
    color:#fff;
  }
  .status-time {
    position:absolute; left:36px; top:32px;
    font-size:40px; letter-spacing:1px;
  }
  .status-icons {
    position:absolute; right:36px; top:30px;
    display:flex; gap:28px; align-items:center;
  }
  .icon {
    width:40px; height:40px;
    display:inline-block;
  }

  /* Reading content */
  .page {
    position:absolute; left:40px; right:40px;
    top:150px; bottom:200px;
    color:#6E5338;
    font-size:44px; line-height:1.45;
  }
  .page p { margin:0 0 42px 0; }
  .home-indicator {
    position:absolute; left:50%; transform:translateX(-50%);
    bottom:32px; width:420px; height:16px;
    background:#111; border-radius:10px; opacity:0.9;
  }

  /* Progress bar and dots at very bottom of page area */
  .progress {
    position:absolute; left:40px; right:40px; bottom:155px;
    height:10px; background:transparent;
  }
  .progress-line {
    position:absolute; left:0; right:0; top:4px;
    height:4px; background:#9E8A70; border-radius:2px;
  }
  .dot {
    position:absolute; width:18px; height:18px; border-radius:50%;
    background:#8C7760;
    bottom:-4px;
  }
  .dot.left { left:-8px; }
  .dot.right { right:-8px; }

  /* Font size popover */
  .popover {
    position:absolute; left:150px; top:590px;
    width:780px; height:180px;
    background:#333; border-radius:22px;
    box-shadow:0 6px 16px rgba(0,0,0,0.35);
    color:#EEE;
    display:flex; align-items:center; justify-content:space-between;
    padding:32px;
  }
  .popover-title {
    position:absolute; top:18px; left:32px;
    color:#CFCFCF; font-size:34px; letter-spacing:1px;
  }
  .size-display {
    font-size:56px; color:#FFF;
  }
  .round-btn {
    width:86px; height:86px; border-radius:50%;
    background:#444; border:3px solid #777;
    display:flex; align-items:center; justify-content:center;
    color:#FFF; font-size:56px; font-weight:bold;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div class="status-time">8:16</div>
    <div class="status-icons">
      <!-- simple wifi-like arc -->
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M12 19.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z" fill="#fff"/>
        <path d="M4 10c4.6-4 11.4-4 16 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
        <path d="M7 13c3-2.5 7-2.5 10 0" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
      </svg>
      <!-- battery icon -->
      <svg class="icon" viewBox="0 0 28 24">
        <rect x="1" y="5" width="20" height="14" rx="3" ry="3