GD-ML/AndroidCode
13.4k
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<meta name="viewport" content="width=1080, initial-scale=1.0">6<title>Add Course</title>7<style>8 body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }9 #render-target {10 width: 1080px;11 height: 2400px;12 position: relative;13 overflow: hidden;14 background: #f3f2f5;15 }16 17 /* Status bar */18 .status-bar {19 height: 140px;20 background: #0b0b0b;21 color: #fff;22 font-size: 44px;23 line-height: 140px;24 padding: 0 40px;25 display: flex;26 justify-content: space-between;27 align-items: center;28 }29 .sb-left { letter-spacing: 1px; }30 .sb-right {31 display: flex;32 align-items: center;33 gap: 28px;34 }35 .sb-dot, .sb-oval {36 display: inline-block;37 background: #fff;38 border-radius: 50%;39 }40 .sb-dot { width: 18px; height: 18px; opacity: 0.9; }41 .sb-oval { width: 34px; height: 20px; border-radius: 10px; opacity: 0.9; }42 .battery {43 width: 34px; height: 20px; border: 2px solid #fff; border-radius: 3px; position: relative;44 }45 .battery::after { content: ""; position: absolute; right: -6px; top: 6px; width: 6px; height: 8px; background: #fff; border-radius: 2px; }46 47 /* Header / App bar */48 .appbar {49 height: 180px;50 background: #ffffff;51 box-shadow: 0 2px 8px rgba(0,0,0,0.08);52 position: relative;53 display: flex;54 align-items: center;55 justify-content: center;56 color: #6e5a79;57 font-size: 58px;58 font-weight: 600;59 }60 .back-btn {61 position: absolute;62 left: 36px;63 top: 50%;64 transform: translateY(-50%);65 width: 72px; height: 72px;66 display: flex; align-items: center; justify-content: center;67 color: #9b83a5;68 }69 .back-btn svg { width: 48px; height: 48px; }70 71 /* Content list */72 .content {73 position: absolute;74 top: 320px; /* status + appbar */75 left: 0; right: 0; bottom: 0;76 padding: 18px 28px 120px 28px;77 overflow: hidden;78 }79 80 .card {81 position: relative;82 height: 360px;83 border-radius: 28px;84 margin: 24px 10px;85 box-shadow: 0 6px 18px rgba(0,0,0,0.12);86 overflow: hidden;87 color: #fff;88 }89 .card .right-illustration {90 position: absolute;91 right: 0;92 top: 0;93 width: 52%;94 height: 100%;95 background: #E0E0E0;96 border-left: 1px solid #BDBDBD;97 display: flex;98 align-items: center;99 justify-content: center;100 color: #757575;101 text-align: center;102 padding: 0 12px;103 font-size: 34px;104 }105 .card .text {106 position: absolute;107 left: 44px;108 top: 54px;109 right: 56%;110 }111 .title {112 font-size: 64px;113 line-height: 1.05;114 font-weight: 700;115 }116 .subtitle {117 font-size: 46px;118 line-height: 1.1;119 font-weight: 600;120 opacity: 0.95;121 }122 .flag {123 width: 84px; height: 84px;124 background: #E0E0E0;125 border: 2px solid #BDBDBD;126 border-radius: 16px;127 display: inline-flex;128 align-items: center; justify-content: center;129 color: #757575;130 font-size: 22px;131 margin-right: 18px;132 }133 134 .plus {135 position: absolute;136 left: 44px;137 bottom: 30px;138 width: 56px;139 height: 56px;140 }141 .plus svg { width: 56px; height: 56px; }142 143 /* Card color themes (approximate gradients) */144 .red { background: linear-gradient(0deg, #c62828 0%, #d32f2f 60%); }145 .blue { background: linear-gradient(0deg, #1e3a8a 0%, #2f53a4 58%); }146 .yellow { background: linear-gradient(0deg, #f5a623 0%, #f4b733 58%); }147 .orange { background: linear-gradient(0deg, #e4a14b 0%, #f1bf6c 58%); color: #fff; }148 .green { background: linear-gradient(0deg, #6f877d 0%, #5e766b 58%); }149 150 /* Gesture bar (bottom) */151 .gesture {152 position: absolute;153 bottom: 18px;154 left: 50%;155 transform: translateX(-50%);156 width: 360px;157 height: 12px;158 background: #d2d2d2;159 border-radius: 12px;160 }161</style>162</head>163<body>164<div id="render-target">165 <!-- Status bar -->166 <div class="status-bar">167 <div class="sb-left">12:35</div>168 <div class="sb-right">169 <span class="sb-dot"></span>170 <span class="sb-dot"></span>171 <span class="sb-dot"></span>172 <span class="sb-oval"></span>173 <div class="battery"></div>174 </div>175 </div>176 177 <!-- App bar -->178 <div class="appbar">179 <div class="back-btn" aria-label="Back">180 <svg viewBox="0 0 24 24" fill="#8f7a98">181 <path d="M15.5 4.5l-7 7 7 7" stroke="#8f7a98" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>182 </svg>183 </div>184 Add Course185 </div>186 187 <!-- Content -->188 <div class="content">189 <!-- English (British) -->190 <div class="card red">191 <div class="text">192 <div style="display:flex; align-items:center; margin-bottom: 18px;">193 <div class="flag">FLAG</div>194 <div class="title">English</div>195 </div>196 <div class="subtitle">(British)</div>197 </div>198 <div class="right-illustration">[IMG: British Guard & Big Ben]</div>199 <div class="plus">200 <svg viewBox="0 0 24 24">201 <circle cx="12" cy="12" r="11" fill="none" stroke="#ffffff" stroke-width="2"/>202 <path d="M12 6v12M6 12h12" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>203 </svg>204 </div>205 </div>206 207 <!-- English (American) -->208 <div class="card blue">209 <div class="text">210 <div style="display:flex; align-items:center; margin-bottom: 18px;">211 <div class="flag">FLAG</div>212 <div class="title">English</div>213 </div>214 <div class="subtitle">(American)</div>215 </div>216 <div class="right-illustration">[IMG: Statue of Liberty & Clouds]</div>217 <div class="plus">218 <svg viewBox="0 0 24 24">219 <circle cx="12" cy="12" r="11" fill="none" stroke="#ffffff" stroke-width="2"/>220 <path d="M12 6v12M6 12h12" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>221 </svg>222 </div>223 </div>224 225 <!-- German -->226 <div class="card yellow">227 <div class="text">228 <div style="display:flex; align-items:center; margin-bottom: 18px;">229 <div class="flag">FLAG</div>230 <div class="title">German</div>231 </div>232 </div>233 <div class="right-illustration">[IMG: German Costume & House]</div>234 <div class="plus">235 <svg viewBox="0 0 24 24">236 <circle cx="12" cy="12" r="11" fill="none" stroke="#ffffff" stroke-width="2"/>237 <path d="M12 6v12M6 12h12" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>238 </svg>239 </div>240 </div>241 242 <!-- Arabic -->243 <div class="card orange">244 <div class="text">245 <div style="display:flex; align-items:center; margin-bottom: 18px;">246 <div class="flag">FLAG</div>247 <div class="title">Arabic</div>248 </div>249 </div>250 <div class="right-illustration">[IMG: Arab Man & Camel]</div>251 <div class="plus">252 <svg viewBox="0 0 24 24">253 <circle cx="12" cy="12" r="11" fill="none" stroke="#ffffff" stroke-width="2"/>254 <path d="M12 6v12M6 12h12" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>255 </svg>256 </div>257 </div>258 259 <!-- Bulgarian -->260 <div class="card green">261 <div class="text">262 <div style="display:flex; align-items:center; margin-bottom: 18px;">263 <div class="flag">FLAG</div>264 <div class="title">Bulgarian</div>265 </div>266 </div>267 <div class="right-illustration">[IMG: Bulgarian Traditional Attire]</div>268 <div class="plus">269 <svg viewBox="0 0 24 24">270 <circle cx="12" cy="12" r="11" fill="none" stroke="#ffffff" stroke-width="2"/>271 <path d="M12 6v12M6 12h12" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>272 </svg>273 </div>274 </div>275 </div>276 277 <!-- Gesture bar -->278 <div class="gesture"></div>279</div>280</body>281</html>