AndroidCode / code /10028 /10028_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="utf-8">
<title>Reader UI Mock</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:#111;
}
/* Status bar */
.status-bar{
position:absolute; left:0; top:0; width:100%; height:120px;
background:#0b0b0b; color:#fff;
}
.status-left{
position:absolute; left:30px; top:22px; display:flex; align-items:center; gap:24px;
font-family: Arial, Helvetica, sans-serif;
}
.time{ font-size:44px; letter-spacing:1px; }
.ghost{ width:22px; height:22px; border-radius:50%; background:#fff; opacity:.9; }
.ghost.dim{ opacity:.5; }
.dot{ width:10px; height:10px; border-radius:50%; background:#cfcfcf; }
.status-right{
position:absolute; right:24px; top:28px; display:flex; align-items:center; gap:24px;
}
.battery{
width:70px; height:34px; border:3px solid #fff; border-radius:6px; position:relative;
}
.battery:after{
content:""; position:absolute; right:-10px; top:9px; width:8px; height:16px; background:#fff; border-radius:2px;
}
.battery .level{ position:absolute; left:4px; top:4px; bottom:4px; width:46px; background:#8bc34a; }
.wifi{
width:46px; height:34px; position:relative;
}
.wifi:before, .wifi:after{
content:""; position:absolute; left:0; right:0; margin:auto; border:3px solid #fff; border-radius:50%;
}
.wifi:before{ width:42px; height:28px; top:2px; border-bottom-color:transparent; border-left-color:transparent; border-right-color:transparent; }
.wifi:after{ width:24px; height:16px; top:10px; border-bottom-color:transparent; border-left-color:transparent; border-right-color:transparent; }
.signal{ width:8px; height:8px; background:#fff; border-radius:50%; position:absolute; bottom:2px; left:0; right:0; margin:auto; }
/* Top toolbar */
.toolbar{
position:absolute; top:120px; left:0; width:100%; height:120px;
background:#ffffff; border-bottom:1px solid #e6e6e6;
}
.toolbar .left{
position:absolute; left:16px; top:0; height:100%; display:flex; align-items:center; gap:24px;
}
.icon{ width:66px; height:66px; display:inline-flex; align-items:center; justify-content:center; }
.toolbar .right{
position:absolute; right:16px; top:0; height:100%; display:flex; align-items:center; gap:24px;
}
.icon svg{ width:46px; height:46px; fill:#111; }
/* Page content */
.page{
position:absolute; left:0; right:0; top:240px; bottom:120px;
padding:0 96px;
}
.excerpt{
margin-top:40px;
font-size:36px; line-height:1.8;
}
.chapter-title{
position:absolute; left:0; right:0; top:1480px; text-align:center;
font-weight:700; font-size:72px; letter-spacing:2px;
}
.chapter-body{
position:absolute; left:96px; right:96px; top:1600px;
font-size:34px; line-height:1.85; color:#222;
}
.smallcaps{ font-variant: small-caps; letter-spacing:1px; }
/* Floating action button */
.fab{
position:absolute; right:56px; top:1400px; width:150px; height:150px;
background:#2f86ff; border-radius:50%; box-shadow:0 10px 24px rgba(47,134,255,.35);
display:flex; align-items:center; justify-content:center;
}
.fab svg{ width:84px; height:84px; fill:#fff; }
/* Bottom navigation/pill */
.nav{
position:absolute; left:0; bottom:0; width:100%; height:120px; background:#0b0b0b;
}
.pill{
position:absolute; left:0; right:0; bottom:36px; width:300px; height:18px;
background:#cfcfcf; border-radius:12px; margin:0 auto; opacity:.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div class="time">12:05</div>
<div class="ghost"></div>
<div class="ghost"></div>
<div class="ghost"></div>
<div class="ghost dim"></div>
<div class="dot"></div>
</div>
<div class="status-right">
<div class="wifi"><div class="signal"></div></div>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- Toolbar -->
<div class="toolbar">
<div class="left">
<div class="icon">
<svg viewBox="0 0 24 24">
<path d="M15.5 4L7 12l8.5 8 1.5-1.5L10 12l7-6.5z"/>
</svg>
</div>
</div>
<div class="right">
<!-- document/list icon -->
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M6 4h12v2H6V4zm0 4h12v2H6V8zm0 4h8v2H6v-2zm0 4h12v2H6v-2z"/></svg>
</div>
<!-- droplet icon -->
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M12 2s6 7 6 11a6 6 0 1 1-12 0C6 9 12 2 12 2z"/></svg>
</div>
<!-- grid icon -->
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M3 3h7v7H3V3zm11 0h7v7h-7V3zM3 14h7v7H3v-7zm11 0h7v7h-7v-7z"/></svg>
</div>
<!-- search icon -->
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M15.5 14h-.8l-.3-.3a6.5 6.5 0 1 0-1.4 1.4l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/></svg>
</div>
<!-- overflow icon -->
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M12 5a2 2 0 1 0 .001-4.001A2 2 0 0 0 12 5zm0 11a2 2 0 1 0 .001-4.001A2 2 0 0 0 12 16zm0 7a2 2 0 1 0 .001-4.001A2 2 0 0 0 12 23z"/></svg>
</div>
</div>
</div>
<!-- Page content -->
<div class="page">
<div class="excerpt">
She heard Mr. Ganz inhale sharply. After a second he said, “King to bishop one.”<br><br>
“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.”<br><br>
Mr. Ganz let out his breath slowly. “Jesus Christ!” he said.
</div>
<div class="chapter-title">TWO</div>
<div class="chapter-body">
They were watching the Saturday-afternoon movie when Mr. Fergusson came to take her
to Mrs. Deardorff’s office. It was a movie about 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 Fergusson, 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 floor and she squinted under the bright fluorescent lights.
The day before had been her birthday. No one had taken any notice of it. Mr. Fergusson,
as usual, had nothing to say; he walked smartly down the hall ahead of her. At the
door with the frosted glass panel and the words
<span class="smallcaps">Helen Deardorff — Superintendent</span> he stopped.
</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg viewBox="0 0 24 24"><path d="M11 5h2v14h-2zM5 11h14v2H5z"/></svg>
</div>
<!-- Bottom navigation -->
<div class="nav">
<div class="pill"></div>
</div>
</div>
</body>
</html>