AndroidCode / code /10110 /10110_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
6.7 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ebook Reader UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: 'Georgia', serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f5e8d6;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #0a0a0a;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
.status-left { display: flex; align-items: center; gap: 20px; }
.status-right { margin-left: auto; display: flex; align-items: center; gap: 26px; }
/* App bar */
.appbar {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 160px;
background: #2b6e77;
color: #fff;
box-sizing: border-box;
padding: 18px 24px;
}
.app-icons {
position: absolute;
top: 18px;
left: 18px;
right: 18px;
display: flex;
align-items: center;
gap: 34px;
}
.app-icons .spacer { flex: 1; }
.title-wrap {
position: absolute;
left: 24px;
bottom: 16px;
}
.title {
font-size: 42px;
font-weight: 700;
line-height: 1.2;
}
.subtitle {
font-size: 26px;
opacity: 0.95;
}
.section-line {
font-size: 24px;
color: #cfe3e6;
}
/* Reading area */
.reading {
position: absolute;
top: 280px;
left: 0;
width: 1080px;
height: 1720px;
background: #eadcc7;
color: #2a2a2a;
box-sizing: border-box;
padding: 32px 48px 120px 48px;
}
.small-a {
position: absolute;
top: 20px;
left: 20px;
width: 44px;
height: 44px;
background: #d8c9ad;
border-radius: 6px;
border: 1px solid #bfae8e;
display: flex;
align-items: center;
justify-content: center;
color: #7a694d;
font-weight: 700;
font-family: Arial, Helvetica, sans-serif;
}
.slider {
position: absolute;
top: 50px;
left: 140px;
width: 800px;
height: 8px;
background: #d1c2a7;
border-radius: 8px;
}
.slider .knob {
position: absolute;
left: 360px;
top: -12px;
width: 32px;
height: 32px;
background: #c3b394;
border-radius: 50%;
border: 3px solid #cfc2ad;
}
.chevron {
position: absolute;
right: 20px;
top: 40px;
width: 26px;
height: 26px;
border-right: 4px solid #9c8b6e;
border-bottom: 4px solid #9c8b6e;
transform: rotate(45deg);
opacity: 0.8;
}
.book-text {
margin-top: 90px;
font-size: 38px;
line-height: 1.45;
}
/* Bottom control bar */
.bottom-bar {
position: absolute;
bottom: 60px;
left: 0;
width: 1080px;
height: 180px;
background: #2b6e77;
color: #e8f5f7;
box-sizing: border-box;
padding: 22px 28px;
}
.bottom-progress {
position: absolute;
top: 92px;
left: 40px;
right: 40px;
height: 8px;
background: rgba(255,255,255,0.25);
border-radius: 10px;
}
.bottom-progress .indicator {
position: absolute;
left: 60px;
width: 160px;
height: 8px;
background: #77aeb6;
border-radius: 10px;
}
.ticks {
position: absolute;
top: 124px;
left: 40px;
right: 40px;
height: 20px;
display: flex;
align-items: flex-start;
gap: 30px;
}
.ticks span {
width: 2px;
height: 12px;
background: rgba(255,255,255,0.4);
}
.bottom-label {
text-align: center;
font-size: 36px;
font-weight: 600;
letter-spacing: 1px;
}
.bottom-icons {
position: absolute;
right: 28px;
bottom: 24px;
display: flex;
gap: 34px;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 16px;
left: 342px;
width: 396px;
height: 16px;
background: #9aa3aa;
border-radius: 12px;
opacity: 0.6;
}
/* Simple icon styling */
svg { display: block; }
.icon { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 3; }
.icon-fill { fill: #fff; }
.kebab circle { fill: #fff; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-left">
<div style="font-size:40px; font-weight:600;">8:14</div>
<div style="font-size:34px; color:#fff;"></div>
</div>
<div class="status-right">
<!-- WiFi -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" />
<path d="M5 11c3.7-3.7 10.3-3.7 14 0" />
<path d="M8 14c2.3-2.3 6.7-2.3 9 0" />
<circle cx="12" cy="18" r="2" class="icon-fill"></circle>
</svg>
<!-- Battery -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="#fff" stroke-width="3"></rect>
<rect x="4" y="8" width="12" height="8" class="icon-fill"></rect>
<rect x="20" y="10" width="2.6" height="4" class="icon-fill"></rect>
</svg>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="app-icons">
<!-- Back arrow -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<!-- Speaker icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M4 9h5l5-4v14l-5-4H4z" fill="#fff" stroke="none"></path>
<path d="M16 9c2 2 2 4 0 6" />
</svg>
<!-- spacer then right-side icons -->
<div class="spacer"></div>
<!-- Search -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6"></circle>
<path d="M16 16 L22 22" />
</svg>
<!-- List icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 6h18M3 12h18M3 18h18" stroke-linecap="round"></path>
</svg>
<!-- Settings gear -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="3" class="icon-fill"></circle>
<path d="M12 2v4M12 18v4M2 12h4M18 12h4M5 5l3 3M16 16l3 3M19 5l-3 3M5 19l3-3" stroke-linecap="round"></path>
</svg>
<!-- Kebab -->
<svg class="kebab" viewBox="0 0 24 24" width="42" height="42">
<circle cx="12" cy="5" r="2.2"></circle>
<circle cx="12" cy="12" r="2.2"></circle>
<circle cx="12" cy="19" r="2.2"></circle>
</svg>
</div>
<div class="title-wrap">
<div class="title">Alice's Adventures in Wonderland</div>
<div class="subtitle">Lewis Carroll</div>
<div class="section-line">Section: I—DOWN THE RABBIT-HOLE. - page