AndroidCode / code /10110 /10110_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
3.04 kB
<!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