AndroidCode / code /10028 /10028_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Mobile Reader UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Georgia, "Times New Roman", serif;
color: #222;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 140px;
background: #0e0e0f;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-family: "Helvetica Neue", Arial, sans-serif;
}
.status-time {
font-size: 44px;
letter-spacing: 1px;
}
.status-center {
flex: 1;
display: flex;
justify-content: center;
gap: 20px;
}
.notif-dot {
width: 22px; height: 22px; background: #bdbdbd; border-radius: 50%;
opacity: 0.9;
}
.status-right {
display: flex;
align-items: center;
gap: 28px;
}
.icon {
width: 44px; height: 44px;
}
/* Reader toolbar */
.reader-toolbar {
position: absolute;
top: 140px;
left: 0;
width: 1080px;
height: 100px;
background: #202124;
display: flex;
align-items: center;
padding: 0 42px;
box-sizing: border-box;
color: #fff;
gap: 32px;
}
.toolbar-left, .toolbar-right {
display: flex;
align-items: center;
gap: 38px;
}
.toolbar-center {
position: absolute;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 42px;
}
.toolbar-icon {
width: 60px;
height: 60px;
}
/* Content area */
.page {
position: absolute;
top: 240px;
left: 0;
width: 100%;
height: 1780px;
background: #ffffff;
box-sizing: border-box;
padding: 40px 120px 0 120px;
}
.para {
font-size: 38px;
line-height: 1.7;
margin-bottom: 28px;
}
.spacer {
height: 860px;
}
.chapter {
text-align: center;
font-weight: 700;
font-size: 60px;
letter-spacing: 2px;
margin: 20px 0 40px 0;
}
/* Bottom overlay tools */
.bottom-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 160px;
background: #111111;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
}
.tool-row {
position: absolute;
bottom: 180px;
left: 24px;
right: 24px;
height: 120px;
background: rgba(18,18,18,0.92);
border-radius: 20px;
display: flex;
align-items: center;
gap: 32px;
padding: 0 28px;
box-sizing: border-box;
}
.pill {
width: 120px;
height: 68px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-family: "Helvetica Neue", Arial, sans-serif;
font-weight: 700;
color: #fff;
}
.pill.purple { background: #7c4dff; }
.pill.orange { background: #ff7043; }
.pill.gray { background: #424242; }
.pill.yellow { background: #ffd54f; color: #222; font-weight: 800; }
.pill.white { background: #eeeeee; color: #111; }
.pill.dark { background: #303030; }
.progress {
position: absolute;
bottom: 170px;
left: 100px;
width: 880px;
height: 16px;
background: #000;
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">12:06</div>
<div class="status-center">
<div class="notif-dot"></div>
<div class="notif-dot"></div>
<div class="notif-dot"></div>
<div class="notif-dot"></div>
<div class="notif-dot"></div>
<div class="notif-dot" style="opacity:.4"></div>
</div>
<div class="status-right">
<!-- Silent bell -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 22a2.5 2.5 0 0 0 2.4-2h-4.8A2.5 2.5 0 0 0 12 22z" fill="#fff"/>
<path d="M18 16H6c0-6 2-9 6-9s6 3 6 9z" fill="#fff" opacity=".9"/>
<path d="M4 16h16" stroke="#fff" stroke-width="2" />
</svg>
<!-- WiFi -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#fff" stroke-width="2" fill="none"/>
<path d="M5 12c4-3 10-3 14 0" stroke="#fff" stroke-width="2" fill="none"/>
<circle cx="12" cy="16" r="2" fill="#fff"/>
</svg>
<!-- Battery -->
<svg class="icon" viewBox="0 0 26 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="#fff"/>
<rect x="20" y="10" width="4" height="4" fill="#fff"/>
</svg>
</div>
</div>
<!-- Reader Toolbar -->
<div class="reader-toolbar">
<div class="toolbar-left">
<!-- Checkmark -->
<svg class="toolbar-icon" viewBox="0 0 24 24">
<path d="M3 12l6 6 12-14" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="toolbar-center">
<!-- Undo -->
<svg class="toolbar-icon" viewBox="0 0 24 24">
<path d="M9 7L5 11l4 4" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 13a7 7 0 0 0-11-5" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
<!-- Redo -->
<svg class="toolbar-icon" viewBox="0 0 24 24">
<path d="M15 7l4 4-4 4" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4 13a7 7 0 0 1 11-5" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="toolbar-right">
<!-- Search -->
<svg class="toolbar-icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6" stroke="#fff" stroke-width="2" fill="none"/>
<line x1="16.5" y1="16.5" x2="22" y2="22" stroke="#fff" stroke-width="2"/>
</svg>
<!-- More (three dots) -->
<svg class="toolbar-icon" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" fill="#fff"/>
<circle cx="12" cy="12" r="2" fill="#fff"/>
<circle cx="18" cy="12" r="2" fill="#fff"/>
</svg>
</div>
</div>
<!-- Page Content -->
<div class="page">
<p class="para">She heard Mr. Ganz inhale sharply. After a second he said, “King to bishop one.”</p>
<p class="para">“That’s mate in three,” Beth said, without turning. “First check is with the knight. The king has the two dark squares, and the bishop checks it. Then the knight mates.”</p>
<p class="para">Mr. Ganz let out his breath slowly. “Jesus Christ!” he said.</p>
<div class="spacer"></div>
<div class="chapter">TWO</div>
<p class="para">They were watching the Saturday-afternoon movie when Mr. Fergussen came to take her to Mrs. Deardorff’s office. It was a movie about table manners called “How to Act at Dinnertime,” so she didn’t mind leaving. But she was frightened. Had they found out that she never went to chapel? That she saved pills? Her legs trembled and her knees felt funny as Mr. Fergussen, wearing his white pants and white T-shirt, walked her down the long hallway, down the green linoleum with black cracks in it. Her thick brown shoes squeaked on the linoleum, and she squinted her eyes under the...</p>
</div>
<!-- Floating tool row above bottom -->
<div class="tool-row">
<div class="pill purple">Aa</div>
<div class="pill orange">Aa</div>
<div class="pill gray">Aa</div>
<div class="pill white">
<!-- Pencil -->
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M3 17l2 4 4-2L20 8l-4-4L5 15z" fill="#111"/>
</svg>
</div>
<div class="pill yellow">Highlighter</div>
<div class="pill dark">
<!-- Check -->
<svg viewBox="0 0 24 24" width="34" height="34">
<path d="M3 12l6 6 12-14" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="pill gray">T</div>
<div class="pill dark">
<!-- Cog -->
<svg viewBox="0 0 24 24" width="34" height="34">
<circle cx="12" cy="12" r="3" fill="#fff"/>
<path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.6 4.6l2.1 2.1M17.3 17.3l2.1 2.1M4.6 19.4l2.1-2.1M17.3 6.7l2.1-2.1" stroke="#fff" stroke-width="2"/>
</svg>
</div>
</div>
<!-- Progress line just above bottom bar -->
<div class="progress"></div>
<!-- Bottom Bar -->
<div class="bottom-bar">
<div style="color:#bdbdbd; font-size:44px; font-family: 'Helvetica Neue', Arial, sans-serif;">Aa</div>
<div style="color:#bdbdbd; font-size:44px; font-family: 'Helvetica Neue', Arial, sans-serif;">Aa</div>
<div style="color:#bdbdbd; font-size:44px; font-family: 'Helvetica Neue', Arial, sans-serif;">Aa</div>
<div>
<svg class="icon" viewBox="0 0 24 24">
<path d="M5 12h14" stroke="#bdbdbd" stroke-width="2"/>
<circle cx="12" cy="12" r="4" fill="#bdbdbd"/>
</svg>
</div>
<div>
<svg class="icon" viewBox="0 0 24 24">
<rect x="4" y="4" width="16" height="16" fill="#bdbdbd"/>
</svg>
</div>
<div>
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 18l12-12M6 6l12 12" stroke="#bdbdbd" stroke-width="2"/>
</svg>
</div>
</div>
</div>
</body>
</html>