AndroidCode / code /10007 /10007_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Weather App Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: linear-gradient(#134a56 0%, #0e7c98 30%, #0fa0c0 70%, #17b8d2 100%);
font-family: "Segoe UI", Roboto, Arial, sans-serif;
color: rgba(255,255,255,0.9);
}
/* Status bar */
.statusbar {
position: absolute; top: 0; left: 0; right: 0; height: 120px;
background: rgba(20,40,50,0.65);
display: flex; align-items: center; padding: 0 40px;
font-size: 34px; letter-spacing: 1px; color: #e8f6fa;
}
.statusbar .spacer { flex: 1; }
.status-icons { display: flex; gap: 26px; align-items: center; font-size: 28px; opacity: 0.85; }
/* Decorative sun */
.sun {
position: absolute; top: 180px; right: 100px;
width: 520px; height: 520px; border-radius: 50%;
background:
radial-gradient(closest-side, rgba(255,255,255,0.9) 0%, rgba(255,243,170,0.9) 35%, rgba(255,243,170,0.0) 70%),
radial-gradient(closest-side, rgba(255,243,170,0.55) 0%, rgba(255,243,170,0.0) 75%);
filter: blur(1px);
}
/* Top actions (gear, target, star, search) */
.top-actions {
position: absolute; top: 180px; left: 50px; right: 50px; height: 150px;
display: flex; align-items: center; justify-content: space-between;
color: rgba(255,255,255,0.85);
}
.top-left, .top-right { display: flex; gap: 60px; align-items: center; }
.icon { width: 70px; height: 70px; opacity: 0.65; }
.icon svg { width: 100%; height: 100%; stroke: #cfe8ee; fill: none; stroke-width: 8; }
.unicode { font-size: 64px; opacity: 0.6; }
/* Main content */
.content {
position: absolute; left: 70px; right: 70px; top: 760px;
}
.temp {
font-size: 170px; font-weight: 800; letter-spacing: 2px;
color: rgba(255,255,255,0.85);
}
.location-row {
display: flex; align-items: center; gap: 22px; margin-top: 30px;
font-size: 56px; font-weight: 700; color: #d3eef4;
}
.location-row .chev { width: 40px; height: 40px; opacity: 0.5; }
.location-row .pin { width: 56px; height: 56px; }
.location-row .right-chev { margin-left: auto; width: 40px; height: 40px; opacity: 0.7; }
.current-time {
margin-top: 24px; font-size: 44px; color: #e6f7fb; opacity: 0.85;
}
/* Details section */
.details {
margin-top: 60px; display: grid; grid-template-columns: 150px 1fr 100px; gap: 30px; align-items: start;
}
.detail-icons { display: grid; gap: 40px; }
.img-ph {
width: 120px; height: 120px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center; color: #757575; font-size: 22px; text-align: center; border-radius: 10px;
}
.detail-text h3 { margin: 0 0 14px; font-size: 54px; color: #eaf6fb; }
.detail-text p { margin: 8px 0; font-size: 40px; color: #d7eef4; }
.side-actions { display: grid; gap: 46px; justify-items: center; }
.round {
width: 92px; height: 92px; border-radius: 50%;
background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}
.round svg { width: 58px; height: 58px; stroke: #e6f7fb; fill: none; stroke-width: 6; }
/* Forecast cards */
.forecast {
margin-top: 50px; display: grid; gap: 20px;
}
.card {
background: rgba(0,80,110,0.45); border-radius: 10px;
display: grid; grid-template-columns: 140px 1fr 60px; align-items: center;
padding: 24px 26px; color: #d9f3f8;
}
.card .img-ph { width: 120px; height: 100px; }
.card .text { font-size: 44px; }
.card .text .title { font-weight: 600; }
.card .chev { width: 40px; height: 40px; justify-self: end; opacity: 0.75; }
/* Bottom banner */
.ad-banner {
position: absolute; bottom: 120px; left: 0; right: 0; height: 160px;
background: #0a0a0a; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
font-size: 50px; font-weight: 800;
}
.ad-banner span { font-size: 36px; font-weight: 500; opacity: 0.85; margin-top: 12px; }
/* Home indicator */
.home-indicator {
position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
width: 360px; height: 14px; border-radius: 14px; background: rgba(255,255,255,0.85);
}
</style>
</head>
<body>
<div id="render-target">
<div class="statusbar">
9:58
<div class="spacer"></div>
<div class="status-icons">• ◤ ◉ ⌁</div>
</div>
<div class="sun"></div>
<div class="top-actions">
<div class="top-left">
<div class="unicode" aria-label="settings"></div>
<div class="icon" aria-label="target">
<svg viewBox="0 0 100 100">
<circle cx="50" cy="50" r="35"></circle>
<circle cx="50" cy="50" r="8"></circle>
<line x1="50" y1="5" x2="50" y2="25"></line>
<line x1="50" y1="75" x2="50" y2="95"></line>
<line x1="5" y1="50" x2="25" y2="50"></line>
<line x1="75" y1="50" x2="95" y2="50"></line>
</svg>
</div>
</div>
<div class="top-right">
<div class="icon" aria-label="star">
<svg viewBox="0 0 100 100">
<polygon points="50,8 60,38 92,38 66,56 76,88 50,70 24,88 34,56 8,38 40,38"></polygon>
</svg>
</div>
<div class="icon" aria-label="search">
<svg viewBox="0 0 100 100">
<circle cx="40" cy="40" r="28"></circle>
<line x1="62" y1="62" x2="92" y2="92"></line>
</svg>
</div>
</div>
</div>
<div class="content">
<div class="temp">87°F</div>
<div class="location-row">
<div class="chev">
<svg viewBox="0 0 40 40"><polyline points="26,6 12,20 26,34" stroke="#cfe8ee" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="pin">
<svg viewBox="0 0 60 60">
<path d="M30 6c-10 0-18 8-18 18 0 12 18 30 18 30s18-18 18-30c0-10-8-18-18-18z" stroke="#cfe8ee" stroke-width="5" fill="none"/>
<circle cx="30" cy="24" r="6" stroke="#cfe8ee" stroke-width="5" fill="none"/>
</svg>
</div>
<div>Bandhwari Haryana, IN</div>
<div class="right-chev">
<svg viewBox="0 0 40 40"><polyline points="14,6 28,20 14,34" stroke="#cfe8ee" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
<div class="current-time">Currently: 9:58 AM</div>
<div class="details">
<div class="detail-icons">
<div class="img-ph">[IMG: Sunny icon]</div>
<div class="img-ph">[IMG: Wind gauge]</div>
<div class="img-ph" style="height:110px;">[IMG: Umbrella]</div>
</div>
<div class="detail-text">
<h3>Sunny</h3>
<p>Cloud cover: 5%</p>
<p>Gentle breeze W<br>13 mp/h Gusts: 25 mp/h<br>Prob. precipitation: 11%</p>
<p>Feels like: 96°<br>Max: 93° Min: 82°<br>Humidity: 68%</p>
</div>
<div class="side-actions">
<div class="round">
<svg viewBox="0 0 60 60">
<line x1="10" y1="18" x2="50" y2="18"></line>
<line x1="10" y1="30" x2="50" y2="30"></line>
<line x1="10" y1="42" x2="50" y2="42"></line>
</svg>
</div>
<div class="round">
<svg viewBox="0 0 60 60">
<circle cx="30" cy="30" r="22"></circle>
<line x1="8" y1="30" x2="52" y2="30"></line>
<line x1="30" y1="8" x2="30" y2="52"></line>
</svg>
</div>
<div class="round">
<svg viewBox="0 0 60 60">
<circle cx="18" cy="40" r="6"></circle>
<circle cx="42" cy="30" r="6"></circle>
<circle cx="18" cy="20" r="6"></circle>
<line x1="23" y1="36" x2="37" y2="32"></line>
<line x1="23" y1="24" x2="37" y2="28"></line>
</svg>
</div>
</div>
</div>
<div class="forecast">
<div class="card">
<div class="img-ph">[IMG: Sun + Cloud + Raindrop]</div>
<div class="text"><span class="title">From 12:00 PM</span><br>89° Scattered rain</div>
<div class="chev">
<svg viewBox="0 0 40 40"><polyline points="14,6 28,20 14,34" stroke="#d8f4fb" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
<div class="card">
<div class="img-ph">[IMG: Sun + Cloud]</div>
<div class="text"><span class="title">Tomorrow, Tuesday 8 August</span><br>93° / 82° Partly Cloudy</div>
<div class="chev">
<svg viewBox="0 0 40 40"><polyline points="14,6 28,20 14,34" stroke="#d8f4fb" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
</div>
</div>
<div class="ad-banner">
Get the PRO version!
<span>Remove the ads</span>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>