AndroidCode / code /1006 /1006_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Mobile UI - The War of the Worlds</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Arial, Helvetica, sans-serif;
color: #222;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
background: #000;
color: #fff;
display: flex;
align-items: center;
padding: 0 30px;
box-sizing: border-box;
}
.status-time {
font-size: 42px;
margin-right: auto;
letter-spacing: 0.5px;
}
.status-icons { display: flex; gap: 26px; align-items: center; }
.dot-icon {
width: 22px; height: 22px; background:#fff; border-radius: 50%;
opacity: 0.85;
}
.battery {
width: 42px; height: 22px; border:2px solid #fff; border-radius:4px; position:relative;
}
.battery::after {
content:""; position:absolute; right:-8px; top:6px; width:6px; height:10px; background:#fff; border-radius:1px;
}
.battery-level {
width: 28px; height: 16px; background:#fff; margin:2px; border-radius:2px;
}
/* App bar */
.appbar {
position: absolute;
top: 110px;
left: 0;
width: 100%;
height: 150px;
background: #fff;
display: flex;
align-items: center;
padding: 0 28px;
box-sizing: border-box;
box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.app-title {
font-size: 56px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 700px;
margin-left: 16px;
}
.app-actions { margin-left: auto; display: flex; gap: 36px; }
.icon-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 44px; height: 44px; }
/* Content */
.content {
position: absolute;
top: 260px;
left: 0;
width: 100%;
height: 1530px;
overflow: hidden;
box-sizing: border-box;
padding: 0 44px;
}
.content p {
font-size: 38px;
line-height: 1.6;
margin: 0 0 28px 0;
}
.content .source { color:#666; }
.section-title {
font-size: 46px;
font-weight: 700;
margin: 28px 0 16px 0;
}
.links { padding-left: 38px; }
.links li { font-size: 42px; margin: 16px 0; }
.links a { color:#2e6bf5; text-decoration: none; }
/* Premium banner + reader controls */
.premium-wrap {
position: absolute;
left: 0;
width: 100%;
bottom: 140px;
}
.handle {
width: 80px; height: 10px; background:#C7C7C7; border-radius: 6px;
margin: 0 auto 10px auto;
}
.premium-banner {
width: calc(100% - 40px);
margin: 0 auto;
height: 170px;
border-radius: 28px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 30px;
box-sizing: border-box;
background: linear-gradient(90deg, #63a36a, #78b394);
color: #fff;
}
.premium-left { display: flex; align-items: center; gap: 24px; }
.premium-logo {
width: 110px; height: 110px; border-radius: 18px;
background: rgba(255,255,255,0.85);
color:#4c8a5a; font-weight: 700; font-size: 72px;
display:flex; align-items:center; justify-content:center;
}
.premium-text { font-size: 44px; }
.upgrade-btn {
background:#fff; color:#2e806c; padding: 22px 40px; border-radius: 40px;
font-size: 40px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.reader-panel {
width: 100%;
height: 480px;
background: #f7f7f7;
padding: 30px 40px 20px 40px;
box-sizing: border-box;
}
.reader-top {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.typography {
display: flex; align-items: center; gap: 24px;
}
.aa { font-size: 140px; font-weight: 700; color:#222; line-height: 1; }
.default-label { font-size: 40px; color:#444; }
.dots { margin-top: 8px; display:flex; gap:16px; }
.dots span { width: 14px; height: 14px; background:#999; border-radius:50%; display:inline-block; }
.themes { display:flex; align-items:center; gap: 40px; }
.theme-circle {
width: 96px; height: 96px; border-radius: 50%;
border: 4px solid rgba(0,0,0,0.15);
}
.t-green { background:#eaf6e7; box-shadow: inset 0 0 0 8px #8ec173; }
.t-beige { background:#e6dac5; }
.t-black { background:#000; border-color:#333; }
.layouts { display:flex; gap:40px; }
.layout-icon {
width: 110px; height: 96px; border-radius: 12px;
border: 6px solid #aaa; position: relative; background:#fff;
display:flex; align-items:center; justify-content:center; color:#777; font-size: 54px; font-weight: 700;
}
.layout-icon.lines:before {
content:""; width: 70%; height: 4px; background:#aaa; position:absolute; top:22px; left:15%;
box-shadow: 0 20px 0 #aaa, 0 40px 0 #aaa, 0 60px 0 #aaa;
}
.reader-bottom {
margin-top: 30px;
display:flex; align-items:center; justify-content: space-between;
}
.zoom {
display:flex; gap: 30px; align-items:center;
}
.round-btn {
width: 84px; height: 84px; border-radius:50%; background:#fff; border:4px solid #bfbfbf;
display:flex; align-items:center; justify-content:center; font-size: 56px; color:#333;
box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}
.slider {
width: 180px; height: 12px; background:#d5d5d5; border-radius: 8px;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 20px;
left: 0;
width: 100%;
height: 100px;
background: #000;
}
.gesture .pill {
width: 280px; height: 14px; background:#fff; border-radius: 10px;
margin: 0 auto; position: relative; top: 40px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-time">3:49</div>
<div class="status-icons">
<div class="dot-icon"></div>
<div class="battery"><div class="battery-level"></div></div>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="icon-btn" aria-label="Back">
<svg viewBox="0 0 24 24">
<path d="M15 18L9 12l6-6" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="app-title">The War of the Wo...</div>
<div class="app-actions">
<div class="icon-btn" aria-label="Search">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M20 20l-4-4" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<div class="icon-btn" aria-label="Bookmark">
<svg viewBox="0 0 24 24">
<path d="M6 4h12v16l-6-4-6 4z" fill="none" stroke="#222" stroke-width="2"></path>
</svg>
</div>
<div class="icon-btn" aria-label="Settings">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="3" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M16.9 16.9l2.1 2.1M4.9 19.1l2.1-2.1M16.9 7.1l2.1-2.1" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<p>Herbert George Wells, better known as H. G. Wells, was an English writer best known for such science fiction novels as The Time Machine, The War of the Worlds, The Invisible Man and The Island of Doctor Moreau. He was a prolific writer of both fiction and non-fiction, and produced works in many different genres, including contemporary novels, history, and social commentary. He was also an outspoken socialist.</p>
<p>His later works become increasingly political and didactic, and only his early science fiction novels are widely read today. Wells, along with Hugo Gernsback and Jules Verne, is sometimes referred to as "The Father of Science Fiction". <span class="source">Source: Wikipedia</span></p>
<div class="section-title">Also available on Feedbooks Wells:</div>
<ul class="links">
<li><a href="#">The Time Machine</a> (1895)</li>
<li><a href="#">A Modern Utopia</a> (1905)</li>
<li><a href="#">The Invisible Man</a> (1897)</li>
<li><a href="#">Tales of Space and Time</a> (1900)</li>
</ul>
</div>
<!-- Premium + controls -->
<div class="premium-wrap">
<div class="handle"></div>
<div class="premium-banner">
<div class="premium-left">
<div class="premium-logo">m</div>
<div class="premium-text">Go Premium</div>
</div>
<div class="upgrade-btn">UPGRADE</div>
</div>
<div class="reader-panel">
<div class="reader-top">
<div class="typography">
<div class="aa">Aa</div>
<div>
<div class="default-label">Default</div>
<div class="dots"><span></span><span></span><span></span></div>
</div>
</div>
<div class="themes">
<div class="theme-circle t-green"></div>
<div class="theme-circle t-beige"></div>
<div class="theme-circle t-black"></div>
</div>
<div class="layouts">
<div class="layout-icon lines"></div>
<div class="layout-icon">][</div>
<div class="layout-icon"></div>
</div>
</div>
<div class="reader-bottom">
<div class="zoom">
<div class="round-btn"></div>
<div class="round-btn">+</div>
</div>
<div class="slider"></div>
<div style="width: 120px;"></div>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"><div class="pill"></div></div>
</div>
</body>
</html>