AndroidCode / code /10110 /10110_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
3.85 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Reader UI Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: Georgia, "Times New Roman", serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #E7D3B6; /* sepia paper */
border-radius: 0;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000;
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 40px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
box-sizing: border-box;
}
.status-icons {
display: flex;
align-items: center;
gap: 28px;
}
.icon-circle {
width: 36px;
height: 36px;
border-radius: 50%;
border: 3px solid #fff;
opacity: 0.9;
}
.icon-battery {
width: 28px;
height: 36px;
border: 3px solid #fff;
position: relative;
border-radius: 4px;
}
.icon-battery::after {
content: "";
position: absolute;
right: -8px;
top: 8px;
width: 6px;
height: 18px;
background: #fff;
border-radius: 2px;
}
/* Reading content */
.page {
position: absolute;
left: 0;
top: 120px;
right: 0;
bottom: 0;
padding: 60px 72px 160px 72px;
box-sizing: border-box;
}
.content {
color: #7A5B3E;
font-size: 48px;
line-height: 1.55;
letter-spacing: 0.4px;
}
.content p {
margin: 28px 0;
text-indent: 36px;
}
.content p.big-indent {
text-indent: 0;
}
.small-caps {
font-variant: small-caps;
letter-spacing: 2px;
}
/* Overlay - Font size control */
.font-overlay {
position: absolute;
top: 860px;
left: 170px;
width: 740px;
height: 220px;
background: #3d3d3f;
border-radius: 22px;
box-shadow: 0 18px 40px rgba(0,0,0,0.35);
color: #fff;
}
.font-overlay .title {
position: absolute;
top: 26px;
left: 40px;
font-size: 36px;
letter-spacing: 2px;
color: #cfcfd4;
}
.font-overlay .controls {
position: absolute;
bottom: 38px;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: space-around;
padding: 0 46px;
}
.circle-btn {
width: 96px;
height: 96px;
border-radius: 50%;
border: 6px solid #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 70px;
line-height: 1;
}
.font-size-value {
font-size: 64px;
color: #eaeaf0;
opacity: 0.95;
}
/* Bottom progress */
.progress {
position: absolute;
left: 40px;
right: 40px;
bottom: 150px;
height: 10px;
background: #d2bea3;
border-radius: 6px;
}
.progress::before,
.progress::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
background: #E7D3B6;
border-radius: 50%;
top: -5px;
}
.progress::before { left: -12px; }
.progress::after { right: -12px; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 520px;
height: 16px;
background: #ffffff;
opacity: 0.9;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div>8:16</div>
<div class="status-icons">
<div class="icon-circle"></div>
<div class="icon-battery"></div>
</div>
</div>
<div class="page">
<div class="content">
<p class="big-indent">
ket, or a watch to take out of it, and, burning with curiosity, she ran