File size: 6,535 Bytes
0e1717f | 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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Transit Detail</title>
<style>
:root{
--orange:#E67E22;
--text:#222;
--muted:#757575;
--line:#E0E0E0;
--bg:#FFFFFF;
--img-bg:#E0E0E0;
--img-border:#BDBDBD;
--green:#0FA15A;
}
body{ margin:0; padding:0; background:transparent; font-family: Roboto, Arial, Helvetica, sans-serif; }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#fff;
color:var(--text);
}
/* Status bar */
.status-bar{
position:absolute; top:0; left:0; right:0;
height:84px;
background:rgba(0,0,0,0.25);
color:#fff; font-size:32px;
display:flex; align-items:center; justify-content:space-between;
padding:0 32px;
z-index:5;
}
.status-icons{ display:flex; gap:28px; align-items:center; opacity:0.9; }
.status-dot{ width:10px; height:10px; background:#fff; border-radius:50%; display:inline-block; opacity:0.8; }
/* Hero image */
.hero{
width:100%; height:420px; position:relative;
}
.hero .img{
width:100%; height:100%;
background:var(--img-bg);
border-bottom:1px solid var(--img-border);
display:flex; align-items:center; justify-content:center;
color:#555; font-size:36px; letter-spacing:0.2px;
}
.back-btn{
position:absolute; left:28px; top:160px;
width:64px; height:64px; display:flex; align-items:center; justify-content:center;
}
/* Agency header */
.agency{
background:#fff;
padding:34px 40px;
display:flex; align-items:center; gap:24px;
border-bottom:1px solid var(--line);
}
.agency h1{ margin:0; font-size:44px; font-weight:700; letter-spacing:0.2px; }
.go-logo{ width:72px; height:36px; }
/* Route card */
.route-card{
background:#F4F4F4;
padding:40px;
border-bottom:1px solid var(--line);
display:grid;
grid-template-columns:120px 1fr;
column-gap:24px;
}
.timeline{
position:relative;
width:14px; height:320px; background:var(--orange); border-radius:8px; margin:8px 0 0 40px;
}
.timeline::before, .timeline::after{
content:""; position:absolute; left:50%; transform:translateX(-50%);
width:40px; height:40px; border-radius:50%; border:8px solid var(--orange); background:#F4F4F4;
}
.timeline::before{ top:-14px; }
.timeline::after{ bottom:-14px; }
.route-title{ font-size:36px; font-weight:500; margin:6px 0 22px 0; }
.detail-row{ display:flex; align-items:center; gap:18px; margin-bottom:18px; }
.duration{ font-size:34px; font-weight:600; }
.mid-dot{ color:var(--muted); }
.bus-icon{ width:36px; height:30px; opacity:0.6; }
.pill{
background:var(--orange); color:#fff; font-weight:700;
font-size:30px; padding:6px 14px; border-radius:10px;
}
.show-stops{ color:var(--muted); font-size:30px; display:flex; align-items:center; gap:14px; }
.dest{ font-size:36px; margin-top:36px; }
/* Information section */
.section{
padding:40px; background:#fff; border-bottom:1px solid var(--line);
}
.section h2{ margin:0 0 28px 0; font-size:44px; font-weight:700; }
.info-row{ display:flex; justify-content:space-between; align-items:flex-start; padding:22px 0; border-top:1px solid var(--line); }
.info-row:first-of-type{ border-top:none; }
.info-left h3{ margin:0 0 10px 0; font-size:34px; font-weight:600; }
.info-left p{ margin:0; font-size:30px; color:var(--muted); }
.info-right{ font-size:32px; font-weight:600; }
/* Map */
.map .img{
width:100%; height:460px;
background:var(--img-bg);
border:1px solid var(--img-border);
display:flex; align-items:center; justify-content:center;
color:#555; font-size:34px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:14</div>
<div class="status-icons">
<span>🔔</span>
<span>🔒</span>
<span style="font-weight:700;">N</span>
<span class="status-dot"></span>
<span>📶</span>
<span>🔋</span>
</div>
</div>
<!-- Hero banner -->
<div class="hero">
<div class="img">[IMG: Bus at station at dusk]</div>
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M30 10 L16 24 L30 38" fill="none" stroke="#ffffff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Agency header -->
<div class="agency">
<svg class="go-logo" viewBox="0 0 80 40">
<circle cx="20" cy="20" r="16" fill="var(--green)"></circle>
<circle cx="44" cy="20" r="16" fill="var(--green)"></circle>
<rect x="62" y="10" width="16" height="20" rx="4" fill="var(--green)"></rect>
</svg>
<h1>GO Transit</h1>
</div>
<!-- Route card -->
<div class="route-card">
<div>
<div class="timeline"></div>
</div>
<div>
<div class="route-title">Durham College Oshawa GO</div>
<div class="detail-row">
<svg class="bus-icon" viewBox="0 0 64 40">
<rect x="6" y="8" width="44" height="20" rx="4" fill="#9E9E9E"></rect>
<rect x="10" y="12" width="16" height="8" fill="#FFFFFF"></rect>
<rect x="30" y="12" width="16" height="8" fill="#FFFFFF"></rect>
<circle cx="18" cy="34" r="4" fill="#9E9E9E"></circle>
<circle cx="42" cy="34" r="4" fill="#9E9E9E"></circle>
</svg>
<div class="duration">1 hr 7 min <span class="mid-dot">·</span> Bus</div>
<div class="pill">88</div>
</div>
<div class="show-stops">Show Stops
<svg width="26" height="26" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" fill="none" stroke="#757575" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="dest">Crawford Dr. @ Harper Rd. Park & Ride</div>
</div>
</div>
<!-- Information -->
<div class="section">
<h2>Information</h2>
<div class="info-row">
<div class="info-left">
<h3>Frequency</h3>
<p>Every 2 hours</p>
</div>
<div class="info-right"></div>
</div>
<div class="info-row">
<div class="info-left">
<h3>Pricing</h3>
<p>Expect to pay</p>
</div>
<div class="info-right">$8 - $12</div>
</div>
</div>
<!-- Map -->
<div class="section map">
<h2>Map</h2>
<div class="img">[IMG: Map showing bus route path]</div>
</div>
</div>
</body>
</html> |