AndroidCode / code /10110 /10110_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
5.21 kB
<html>
<head>
<meta charset="UTF-8">
<title>E-Reader UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #e6d3b4; /* sepia page */
border-radius: 0;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #0b0b0b;
color: #ffffff;
}
.status-left {
position: absolute;
top: 36px;
left: 40px;
font-family: "SF Pro Text", Arial, sans-serif;
font-size: 48px;
letter-spacing: 1px;
}
.status-right {
position: absolute;
top: 36px;
right: 40px;
display: flex;
gap: 22px;
align-items: center;
}
.icon {
width: 44px;
height: 44px;
}
/* Reading area */
.page {
position: absolute;
top: 120px;
left: 40px;
right: 40px;
bottom: 180px;
padding: 0 10px;
color: #5a4b39;
font-family: Georgia, "Times New Roman", serif;
font-size: 50px;
line-height: 1.45;
hyphens: auto;
}
.para { margin: 28px 0; }
/* Floating font-size control */
.font-modal {
position: absolute;
top: 860px;
left: 120px;
width: 840px;
height: 180px;
background: #2f2f2f;
border-radius: 18px;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
color: #e9e9e9;
}
.font-modal .label {
position: absolute;
top: 22px;
left: 40px;
font-size: 38px;
font-family: Arial, sans-serif;
letter-spacing: 1px;
color: #bfbfbf;
}
.font-controls {
position: absolute;
left: 0; right: 0;
top: 70px;
height: 100px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 60px;
}
.circle-btn {
width: 88px;
height: 88px;
border-radius: 50%;
border: 4px solid #cfcfcf;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 54px;
box-sizing: border-box;
}
.font-value {
color: #ffffff;
font-size: 54px;
font-family: Arial, sans-serif;
}
/* Bottom progress bar */
.progress-wrap {
position: absolute;
bottom: 128px;
left: 40px;
width: 1000px;
height: 14px;
}
.progress-track {
position: absolute;
top: 4px;
left: 28px;
right: 28px;
height: 6px;
background: #cbb59a;
border-radius: 3px;
}
.progress-dot {
position: absolute;
top: 0;
width: 14px;
height: 14px;
border-radius: 50%;
background: #cbb59a;
}
.progress-dot.left { left: 0; }
.progress-dot.right { right: 0; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 44px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 16px;
background: #cfc6b9;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div class="status-left">8:16</div>
<div class="status-right">
<!-- Simple round icon -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#ffffff"/>
<circle cx="12" cy="12" r="6" fill="#0b0b0b"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 18">
<rect x="2" y="2" width="22" height="14" rx="2" ry="2" fill="none" stroke="#ffffff" stroke-width="2"/>
<rect x="24" y="6" width="3" height="6" fill="#ffffff"/>
<rect x="4" y="4" width="16" height="10" fill="#ffffff"/>
</svg>
</div>
</div>
<div class="page">
<p class="para">
her mind that she had never before seen a rabbit with either a waistcoat‑pocket, or a watch to take out of it, and, burning with curiosity, she ran across the field after it and was just in time to see it pop down a large rabbit‑hole, under the hedge. In another moment, down went Alice after it!
</p>
<p class="para">
The rabbit‑hole went straight on like a tunnel for some way, and then dipped suddenly; she had not a moment to think about stopping herself before she found herself falling down what seemed to be a very deep well.
</p>
<div class="font-modal">
<div class="label">FONT SIZE</div>
<div class="font-controls">
<div class="circle-btn"></div>
<div class="font-value">50</div>
<div class="circle-btn">+</div>
</div>
</div>
<p class="para">
Either the well was very deep, or she fell very slowly, for she had plenty of time, as she went down, to look about her. First, she tried to make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well and noticed that they were filled with cupboards and book‑shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed. It was labeled "ORANGE MARMALADE," but—
</p>
</div>
<div class="progress-wrap">
<div class="progress-dot left"></div>
<div class="progress-track"></div>
<div class="progress-dot right"></div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>