File size: 6,700 Bytes
98687c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Weather Map UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #1f2f3a; /* app chrome tone */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #fff;
}
.top-bar {
position: absolute; top: 0; left: 0; width: 100%; height: 130px;
background: #1f3a48;
display: flex; align-items: center; padding: 0 40px; box-sizing: border-box;
letter-spacing: 0.2px;
}
.top-bar .time { font-size: 40px; font-weight: 600; margin-right: 40px; }
.top-bar .icon-cluster { display: flex; gap: 34px; margin-left: 20px; }
.top-bar .icon { opacity: 0.9; }
.legend {
position: absolute; top: 130px; left: 0; width: 100%; height: 110px;
background: #203f4f;
box-sizing: border-box; padding: 16px 28px;
}
.legend-labels {
position: absolute; top: 16px; left: 28px; right: 28px;
display: flex; align-items: center; gap: 14px; font-size: 34px; opacity: 0.9;
}
.legend-bar {
position: absolute; bottom: 12px; left: 28px; right: 28px; height: 56px;
border-radius: 18px; border: 1px solid rgba(255,255,255,0.25);
background: linear-gradient(90deg,
#3a86ff 0%,
#4aa0ff 8%,
#3cc26e 24%,
#85d84a 32%,
#d7dc3b 40%,
#f2b533 54%,
#f6802e 62%,
#f04b37 72%,
#e43a5d 84%,
#c8328e 100%);
}
.legend-scale {
position: absolute; bottom: 72px; left: 28px; right: 28px;
display: flex; justify-content: space-between; padding: 0 8px;
font-size: 28px; opacity: 0.95;
}
.map {
position: absolute; top: 240px; left: 0; width: 100%; height: 1800px;
background: #4caf50;
border-top: 1px solid rgba(255,255,255,0.1);
border-bottom: 1px solid rgba(255,255,255,0.1);
display: flex; justify-content: center; align-items: center;
color: #e0f2f1; font-size: 36px; text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.map::before {
content: ""; position: absolute; inset: 0;
background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 60px);
opacity: 0.07; pointer-events: none;
}
.fab {
position: absolute; width: 110px; height: 110px; border-radius: 22px;
background: #1f3a48; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
display: flex; align-items: center; justify-content: center;
}
.fab svg { width: 56px; height: 56px; }
.info-card {
position: absolute; left: 120px; top: 720px; width: 840px; background: #1e3443;
border-radius: 28px; box-shadow: 0 16px 28px rgba(0,0,0,0.35);
padding: 40px; box-sizing: border-box;
}
.info-card .coords { font-size: 40px; font-weight: 600; letter-spacing: 0.3px; }
.info-card .star {
position: absolute; right: 34px; top: 34px; width: 64px; height: 64px;
display: flex; align-items: center; justify-content: center; opacity: 0.9;
}
.info-card .section { margin-top: 24px; font-size: 30px; color: #cfd8dc; }
.wind-row { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.wind-primary { font-size: 42px; font-weight: 700; color: #a7ffeb; }
.wind-secondary { font-size: 28px; color: #b0c6cf; }
.forecast-btn {
margin-top: 34px; width: 100%; height: 120px; border-radius: 24px;
background: linear-gradient(90deg, #00f0c9, #22dda8);
display: flex; align-items: center; justify-content: center;
font-size: 42px; color: #082f2c; font-weight: 700;
}
.card-pointer {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: -18px; width: 0; height: 0;
border-left: 24px solid transparent;
border-right: 24px solid transparent;
border-top: 24px solid #1e3443;
filter: drop-shadow(0 8px 8px rgba(0,0,0,0.35));
}
.pin {
position: absolute; width: 84px; height: 84px; border-radius: 42px;
border: 6px solid rgba(255,255,255,0.9); background: rgba(31,58,72,0.85);
box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.pin::after {
content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
width: 28px; height: 28px; border-radius: 50%; background: #9fe4ff; border: 4px solid #eaf6ff;
}
.blue-dot {
position: absolute; width: 24px; height: 24px; border-radius: 50%;
background: #2196f3; border: 4px solid #bfe2ff;
}
.model-pill {
position: absolute; width: 160px; height: 90px; border-radius: 18px;
background: #1f3a48; display: flex; align-items: center; justify-content: center;
font-size: 34px; font-weight: 700; color: #c6e2f0; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.bottom-panel {
position: absolute; left: 0; bottom: 0; width: 100%; height: 360px; background: #223b49;
box-shadow: 0 -12px 28px rgba(0,0,0,0.4);
padding: 30px 40px; box-sizing: border-box;
}
.bottom-title { font-size: 40px; font-weight: 700; margin-bottom: 32px; }
.timeline { display: flex; gap: 64px; align-items: center; color: #e2eff5; }
.time-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.time-item .t { font-size: 42px; font-weight: 700; }
.time-item .ampm { font-size: 24px; opacity: 0.8; }
.bottom-note { position: absolute; left: 0; right: 0; bottom: 54px; text-align: center; font-size: 26px; color: #9fb3bf; }
.handle { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 220px; height: 12px; border-radius: 6px; background: #6b7f89; opacity: 0.8; }
/* small labels on map to hint places */
.place-label { position: absolute; color: #f1f8e9; font-weight: 700; font-size: 54px; text-shadow: 0 2px 3px rgba(0,0,0,0.4); }
</style>
</head>
<body>
<div id="render-target">
<!-- Top status bar -->
<div class="top-bar">
<div class="time">10:11</div>
<div class="icon-cluster">
<!-- precipitation icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 3c4 0 7 3 7 7s-3 7-7 7-7-3-7-7 3-7 7-7z" fill="none" stroke="#a7cbe3" stroke-width="2"/>
<path d="M12 6v6l4 2" stroke="#a7cbe3" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<!-- wind particles -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 8h10m-8 5h14m-6 5h8" stroke="#a7cbe3" stroke-width="2" stroke-linecap="round"/>
</svg>
<!-- up arrow -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 5l-6 6h4v8h4v-8h4z" fill="#a7cbe3"/>
</svg>
<!-- dot -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx |