Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10861_1.html289 linesDownload Raw Back to 10861
1<html lang="en">2<head>3<meta charset="UTF-8">4<meta name="viewport" content="width=1080, initial-scale=1.0">5<title>Reading Now - Mock</title>6<style>7  body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }8  #render-target {9    position: relative;10    width: 1080px;11    height: 2400px;12    overflow: hidden;13    background: #0f2d33;14    color: #e9f2f2;15  }16 17  /* Status bar */18  .status-bar {19    position: absolute;20    top: 0;21    left: 0;22    width: 1080px;23    height: 90px;24    background: #000000;25    display: flex;26    align-items: center;27    padding: 0 32px;28    box-sizing: border-box;29    color: #e0e0e0;30    font-size: 36px;31    letter-spacing: 1px;32  }33  .status-right {34    margin-left: auto;35    display: flex;36    align-items: center;37    gap: 20px;38  }39  .sb-icon {40    width: 34px;41    height: 34px;42    border: 2px solid #e0e0e0;43    border-radius: 4px;44    opacity: 0.9;45  }46 47  /* App bar */48  .app-bar {49    position: absolute;50    top: 90px;51    left: 0;52    width: 1080px;53    height: 150px;54    background: #2e6f78;55    display: flex;56    align-items: center;57    padding: 0 28px;58    box-sizing: border-box;59    box-shadow: 0 2px 0 rgba(0,0,0,0.2) inset;60  }61  .app-title {62    font-size: 56px;63    font-weight: 700;64    margin-left: 24px;65  }66  .app-actions {67    margin-left: auto;68    display: flex;69    align-items: center;70    gap: 28px;71  }72  .icon-btn {73    width: 60px;74    height: 60px;75    display: inline-flex;76    align-items: center;77    justify-content: center;78    opacity: 0.95;79  }80  .icon-btn svg { fill: none; stroke: #d9f0f1; stroke-width: 6; }81 82  /* Content area */83  .content {84    position: absolute;85    top: 240px;86    left: 0;87    width: 1080px;88    padding: 24px;89    box-sizing: border-box;90  }91 92  .book-card {93    width: 1040px;94    background: #22363b;95    border-radius: 10px;96    padding: 26px 26px;97    box-sizing: border-box;98    display: flex;99    gap: 26px;100    box-shadow: 0 2px 0 rgba(0,0,0,0.35) inset;101  }102  .cover {103    width: 230px;104    height: 300px;105    background: #E0E0E0;106    border: 1px solid #BDBDBD;107    border-radius: 4px;108    color: #757575;109    display: flex;110    align-items: center;111    justify-content: center;112    text-align: center;113    padding: 8px;114    font-size: 22px;115    line-height: 1.2;116  }117  .book-info {118    flex: 1;119    min-height: 300px;120    color: #d6e6e7;121  }122  .book-title {123    font-size: 54px;124    font-weight: 700;125    margin: 6px 0 8px 0;126    color: #e8f6f7;127  }128  .book-meta {129    font-size: 32px;130    color: #a8c5c7;131    margin-bottom: 6px;132  }133 134  .progress-wrap {135    margin: 18px 0 24px 0;136    height: 24px;137    position: relative;138  }139  .progress-line {140    position: absolute;141    top: 10px;142    left: 0;143    right: 0;144    height: 4px;145    background: rgba(255,255,255,0.2);146    border-radius: 3px;147  }148  .progress-fill {149    position: absolute;150    top: 10px;151    left: 0;152    width: 160px;153    height: 4px;154    background: rgba(255,255,255,0.35);155    border-radius: 3px;156  }157  .progress-dot {158    position: absolute;159    top: 4px;160    width: 16px;161    height: 16px;162    border-radius: 50%;163    background: rgba(255,255,255,0.6);164  }165  .dot-start { left: -2px; }166  .dot-end { right: -2px; opacity: 0.5; }167 168  .action-row {169    display: flex;170    align-items: center;171    gap: 44px;172    padding-right: 10px;173  }174  .action-row .spacer {175    flex: 1;176  }177  .card-icon {178    width: 56px;179    height: 56px;180    display: inline-flex;181    align-items: center;182    justify-content: center;183  }184  .card-icon svg { stroke: #b7cfd1; fill: none; stroke-width: 6; }185 186  /* Bottom huge empty space is natural; keep background color */187</style>188</head>189<body>190<div id="render-target">191 192  <!-- Status Bar -->193  <div class="status-bar">194    <div>7:40</div>195    <div class="status-right">196      <div class="sb-icon"></div>197      <div class="sb-icon" style="border-radius:50%"></div>198    </div>199  </div>200 201  <!-- App Bar -->202  <div class="app-bar">203    <div class="icon-btn" aria-label="menu">204      <svg viewBox="0 0 24 24" width="44" height="44">205        <path d="M3 6h18M3 12h18M3 18h18"></path>206      </svg>207    </div>208    <div class="app-title">Reading Now</div>209    <div class="app-actions">210      <div class="icon-btn" aria-label="search">211        <svg viewBox="0 0 24 24" width="44" height="44">212          <circle cx="11" cy="11" r="7"></circle>213          <path d="M16 16l5 5"></path>214        </svg>215      </div>216      <div class="icon-btn" aria-label="more">217        <svg viewBox="0 0 24 24" width="44" height="44">218          <circle cx="12" cy="5" r="2.2" fill="#d9f0f1"></circle>219          <circle cx="12" cy="12" r="2.2" fill="#d9f0f1"></circle>220          <circle cx="12" cy="19" r="2.2" fill="#d9f0f1"></circle>221        </svg>222      </div>223    </div>224  </div>225 226  <!-- Content -->227  <div class="content">228    <div class="book-card">229      <div class="cover">[IMG: Alice in Wonderland cover]</div>230 231      <div class="book-info">232        <div class="book-title">Just mercy</div>233        <div class="book-meta">Lewis Carroll</div>234        <div class="book-meta">EPUB, 26 kB</div>235 236        <div class="progress-wrap">237          <div class="progress-line"></div>238          <div class="progress-fill"></div>239          <div class="progress-dot dot-start"></div>240          <div class="progress-dot dot-end"></div>241        </div>242 243        <div class="action-row">244          <!-- Star -->245          <div class="card-icon" title="Favorite">246            <svg viewBox="0 0 24 24" width="42" height="42">247              <path d="M12 3l2.6 5.3L20 9.2l-4 3.9.9 5.7L12 16.6 7.1 19l.9-5.7L4 9.2l5.4-.9z"></path>248            </svg>249          </div>250          <!-- Clock -->251          <div class="card-icon" title="Recent">252            <svg viewBox="0 0 24 24" width="42" height="42">253              <circle cx="12" cy="12" r="8"></circle>254              <path d="M12 8v4l3 2"></path>255            </svg>256          </div>257          <!-- Checkmark -->258          <div class="card-icon" title="Finished">259            <svg viewBox="0 0 24 24" width="42" height="42">260              <path d="M4 13l5 5 11-11"></path>261            </svg>262          </div>263          <!-- Bookshelf -->264          <div class="card-icon" title="Library">265            <svg viewBox="0 0 24 24" width="42" height="42">266              <path d="M4 6h4v12H4z"></path>267              <path d="M10 6h4v12h-4z"></path>268              <path d="M16 6h4v12h-4z"></path>269            </svg>270          </div>271 272          <div class="spacer"></div>273 274          <!-- More options (vertical) -->275          <div class="card-icon" title="More options">276            <svg viewBox="0 0 24 24" width="38" height="38">277              <circle cx="12" cy="5" r="2.2" fill="#b7cfd1"></circle>278              <circle cx="12" cy="12" r="2.2" fill="#b7cfd1"></circle>279              <circle cx="12" cy="19" r="2.2" fill="#b7cfd1"></circle>280            </svg>281          </div>282        </div>283      </div>284    </div>285  </div>286 287</div>288</body>289</html>
GD-ML/AndroidCode · Team Ai