AndroidCode / code /1006 /1006_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>UI Mock - The War of the Worlds</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#ffffff;
}
/* Status bar */
.status-bar {
position:absolute; top:0; left:0; right:0;
height:88px; background:#000; color:#fff;
display:flex; align-items:center; justify-content:space-between;
padding:0 30px; font-size:34px;
}
.status-icons { display:flex; align-items:center; gap:24px; }
.icon-dot { width:12px; height:12px; background:#fff; border-radius:50%; opacity:0.9; }
.battery {
width:56px; height:28px; border:4px solid #fff; border-radius:6px; position:relative;
}
.battery:after {
content:""; position:absolute; right:-10px; top:6px;
width:10px; height:16px; background:#fff; border-radius:2px;
}
.battery .level { position:absolute; left:4px; top:4px; height:16px; width:34px; background:#fff; }
/* Header bar */
.header {
position:absolute; top:88px; left:0; right:0; height:120px;
background:#ffffff; border-bottom:1px solid #e6e6e6;
display:flex; align-items:center; padding:0 30px; gap:26px;
}
.header-title {
font-weight:700; font-size:56px; color:#1d1d1d; flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hdr-icon { width:72px; height:72px; display:flex; align-items:center; justify-content:center; cursor:default; }
.hdr-icon svg { width:60px; height:60px; fill:#2c2c2c; }
/* Content */
.content {
position:absolute; top:208px; left:0; right:0; bottom:0;
padding:36px 50px 560px 50px; /* bottom space for overlay preview */
overflow:hidden;
}
.paragraph {
font-size:40px; line-height:58px; color:#222; margin-bottom:38px;
}
.source { color:#4a4a4a; font-size:36px; }
.section-title { font-size:46px; font-weight:800; margin-top:22px; margin-bottom:18px; }
ul.book-list { list-style-type: disc; padding-left:42px; margin:0; }
ul.book-list li {
font-size:42px; line-height:64px; margin:8px 0;
}
ul.book-list li a { color:#2f6ad8; text-decoration:none; font-style:italic; }
ul.book-list li .year { color:#565656; }
/* Bottom gradient promo bar */
.promo-bar {
position:absolute; left:0; right:0; bottom:0;
height:168px;
background: linear-gradient(90deg, #5fb56b, #67b9a7);
display:flex; align-items:center; justify-content:space-between;
padding:0 36px; color:#fff;
}
.promo-left { display:flex; align-items:center; gap:22px; }
.brand {
width:92px; height:92px; border-radius:18px; background:#2b8f50; color:#fff;
display:flex; align-items:center; justify-content:center; font-size:58px; font-weight:800;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
}
.promo-text { font-size:46px; font-weight:600; }
.upgrade-btn {
background:#ffffff; color:#247f5a; font-weight:800;
padding:22px 44px; border-radius:56px; font-size:44px; border:none;
box-shadow:0 2px 6px rgba(0,0,0,0.15);
}
/* White settings sheet above promo */
.sheet {
position:absolute; left:0; right:0; bottom:168px;
height:480px; background:#ffffff;
border-top-left-radius:46px; border-top-right-radius:46px;
box-shadow:0 -10px 30px rgba(0,0,0,0.15);
padding:36px 48px;
}
.sheet-top {
display:flex; align-items:flex-end; gap:28px; margin-bottom:36px;
}
.big-aa { font-size:150px; font-weight:800; color:#1f1f1f; line-height:130px; }
.default-label { font-size:44px; color:#444; margin-left:18px; }
.size-row { display:flex; align-items:center; gap:26px; margin-top:18px; }
.circle-btn {
width:92px; height:92px; border-radius:50%; border:2px solid #cfcfcf; display:flex; align-items:center; justify-content:center; font-size:58px; color:#333;
background:#fafafa;
}
.dots { display:flex; gap:12px; margin-left:16px; }
.dot { width:18px; height:18px; background:#bdbdbd; border-radius:50%; }
.theme-row { display:flex; gap:36px; align-items:center; margin-top:30px; }
.theme { width:94px; height:94px; border-radius:50%; border:3px solid #cfcfcf; }
.theme.green { background:#e8f5e9; }
.theme.beige { background:#e9dfcf; }
.theme.dark { background:#050505; border-color:#222; }
.tools-row { display:flex; gap:44px; align-items:center; margin-top:40px; }
.tool {
width:120px; height:120px; border-radius:16px; border:3px solid #cfcfcf; display:flex; align-items:center; justify-content:center; color:#5a5a5a; font-size:64px; background:#f6f6f6;
}
.tool.thin { border-color:#9f9f9f; background:#ededed; }
/* Bottom gesture bar */
.gesture {
position:absolute; left:50%; transform:translateX(-50%);
bottom:12px; width:420px; height:14px; background:#000; border-radius:10px; opacity:0.8;
}
/* Simple header icons */
.back svg { fill:#2c2c2c; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>3:49</div>
<div class="status-icons">
<div class="icon-dot"></div>
<div class="icon-dot"></div>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="hdr-icon back">
<svg viewBox="0 0 24 24"><path d="M15.5 3.5L6 12l9.5 8.5-2 2.2L2 12 13.5 1.3z"/></svg>
</div>
<div class="header-title">The War of the Wo...</div>
<div class="hdr-icon">
<svg viewBox="0 0 24 24"><path d="M10 2a8 8 0 1 0 5.3 14.1l5.2 5.2 2-2-5.2-5.2A8 8 0 0 0 10 2zm0 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10z"/></svg>
</div>
<div class="hdr-icon">
<svg viewBox="0 0 24 24"><path d="M6 2h12v18l-6-3-6 3V2z" fill="none" stroke="#2c2c2c" stroke-width="2"/></svg>
</div>
<div class="hdr-icon">
<svg viewBox="0 0 24 24"><path d="M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0-7l2 3h4l1 4 3 2-3 2 1 4h-4l-2 3-2-3H6l-1-4-3-2 3-2-1-4h4l2-3z"/></svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="paragraph">
Herbert George Wells, better known as H. G. Wells, was an English writer best known for such science fiction novels as <em>The Time Machine</em>, <em>The War of the Worlds</em>, <em>The Invisible Man</em> and <em>The Island of Doctor Moreau</em>. 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. 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>
</div>
<div class="section-title">Also available on Feedbooks Wells:</div>
<ul class="book-list">
<li><a href="#">The Time Machine</a> <span class="year">(1895)</span></li>
<li><a href="#">A Modern Utopia</a> <span class="year">(1905)</span></li>
<li><a href="#">The Invisible Man</a> <span class="year">(1897)</span></li>
<li><a href="#">Tales of Space and Time</a> <span class="year">(1900)</span></li>
<li><a href="#">The Island of Dr. Moreau</a> <span class="year">(1896)</span></li>
<li><a href="#">The Food of the Gods and How It Came to Earth</a> <span class="year">(1904)</span></li>
<li><a href="#">The Sleeper Awakes</a> <span class="year">(1910)</span></li>
<li><a href="#">The Story of the Inexperienced Ghost</a> <span class="year">(1902)</span></li>
</ul>
</div>
<!-- White Settings Sheet -->
<div class="sheet">
<div class="sheet-top">
<div class="big-aa">Aa</div>
<div class="default-label">Default</div>
</div>
<div class="size-row">
<div class="circle-btn">โˆ’</div>
<div class="dots">
<div class="dot"></div><div class="dot"></div><div class="dot"></div>
</div>
<div class="circle-btn">+</div>
</div>
<div class="theme-row">
<div class="theme green"></div>
<div class="theme beige"></div>
<div class="theme dark"></div>
</div>
<div class="tools-row">
<div class="tool thin">๐Ÿ“</div>
<div class="tool">][</div>
<div class="tool">๐Ÿ“„</div>
<div class="tool">๐Ÿ“„</div>
</div>
</div>
<!-- Promo Gradient Bar -->
<div class="promo-bar">
<div class="promo-left">
<div class="brand">m</div>
<div class="promo-text">Go Premium</div>
</div>
<button class="upgrade-btn">UPGRADE</button>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>