| <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 { |
| 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 { |
| 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; } |
| |
| |
| .content { |
| position: absolute; |
| top: 230px; |
| left: 40px; |
| right: 40px; |
| bottom: 460px; |
| 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 { |
| 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"> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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"> |
| |
| <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"> |
| |
| <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"> |
| |
| <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> |