Download code/10016/10016_1.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 7.41 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/eb3dbc8433c41d09631638c8caeebc6063450840/code/10016/10016_1.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@eb3dbc8433c41d09631638c8caeebc6063450840/code/10016/10016_1.html
-
curl -L -o 10016_1.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/eb3dbc8433c41d09631638c8caeebc6063450840/code/10016/10016_1.html
7.41 kB
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Ebook Carousel UI</title> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color: #111; } | |
| #render-target { | |
| width: 1080px; | |
| height: 2400px; | |
| position: relative; | |
| overflow: hidden; | |
| background: #F5F6F7; | |
| } | |
| /* Status bar */ | |
| .status-bar { | |
| position: absolute; | |
| top: 0; left: 0; width: 100%; height: 120px; | |
| background: #000; | |
| color: #fff; | |
| display: flex; align-items: center; justify-content: space-between; | |
| padding: 0 36px; | |
| box-sizing: border-box; | |
| font-size: 40px; font-weight: 600; | |
| } | |
| .status-icons { display: flex; align-items: center; gap: 24px; } | |
| .status-icons svg { width: 44px; height: 44px; fill: #fff; } | |
| /* Top toolbar */ | |
| .toolbar { | |
| position: absolute; | |
| top: 120px; left: 0; width: 100%; height: 176px; | |
| background: #FFFFFF; | |
| display: flex; align-items: center; justify-content: space-between; | |
| padding: 0 40px; | |
| box-sizing: border-box; | |
| } | |
| .toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 36px; } | |
| .icon-btn svg { width: 56px; height: 56px; fill: #5F6368; } | |
| .text-aa { font-size: 52px; color: #5F6368; font-weight: 600; } | |
| /* Carousel area */ | |
| .carousel { | |
| position: absolute; | |
| top: 320px; left: 0; right: 0; | |
| height: 1480px; | |
| padding: 0 64px; | |
| box-sizing: border-box; | |
| display: flex; align-items: stretch; gap: 44px; | |
| } | |
| .card { | |
| background: #fff; | |
| border-radius: 28px; | |
| box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 6px 16px rgba(0,0,0,0.1); | |
| height: 100%; | |
| overflow: hidden; | |
| } | |
| .card.small { width: 340px; } | |
| .card.medium { width: 840px; } | |
| .card .pad { padding: 80px; box-sizing: border-box; } | |
| /* Left preview card */ | |
| .preview-left { | |
| position: relative; | |
| } | |
| .preview-left .stripe { | |
| position: absolute; top: 0; left: 0; width: 110px; height: 100%; background: #D64141; | |
| } | |
| /* Center book card content */ | |
| .book-card { position: relative; text-align: center; } | |
| .book-title { | |
| font-size: 72px; line-height: 1.15; font-weight: 800; color: #111; | |
| margin-top: 70px; margin-bottom: 40px; | |
| } | |
| .author { | |
| font-size: 44px; color: #9D2D2D; font-weight: 700; margin: 40px 0 20px; | |
| } | |
| .publisher { | |
| font-size: 62px; letter-spacing: 1px; margin: 90px 0 20px; font-weight: 700; | |
| } | |
| .cities { | |
| color: #6E6E6E; font-size: 28px; | |
| } | |
| .card-bottom { | |
| position: absolute; left: 40px; right: 40px; bottom: 30px; | |
| display: flex; align-items: center; justify-content: space-between; | |
| color: #8A8A8A; font-size: 28px; | |
| } | |
| /* Right preview card with text */ | |
| .preview-right .heading { | |
| font-size: 60px; font-weight: 800; margin-bottom: 24px; | |
| } | |
| .preview-right .line { | |
| height: 18px; background: #EEE; border-radius: 9px; margin: 20px 0; | |
| } | |
| /* Bottom controls */ | |
| .bottom-controls { | |
| position: absolute; left: 0; right: 0; bottom: 170px; | |
| height: 220px; background: #FFFFFF; | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .controls-inner { | |
| width: 100%; padding: 0 80px; box-sizing: border-box; | |
| display: flex; align-items: center; justify-content: space-between; | |
| } | |
| .list-icon svg { width: 64px; height: 64px; fill: #6E6E6E; } | |
| .page-indicator { color: #666; font-size: 40px; } | |
| .slider { | |
| width: 660px; height: 60px; position: relative; | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .slider .track { | |
| position: absolute; left: 0; right: 0; height: 6px; background: #C8D6EE; border-radius: 3px; | |
| } | |
| .slider .progress { | |
| position: absolute; left: 0; width: 520px; height: 6px; background: #2E79D7; border-radius: 3px; | |
| } | |
| .slider .thumb { | |
| position: absolute; left: 500px; width: 56px; height: 56px; background: #2E79D7; border-radius: 50%; | |
| box-shadow: 0 4px 10px rgba(46,121,215,0.4); | |
| } | |
| /* Gesture bar */ | |
| .gesture-bar { | |
| position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); | |
| width: 320px; height: 14px; background: #8F8F8F; border-radius: 10px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Status bar --> | |
| <div class="status-bar"> | |
| <div>11:04</div> | |
| <div class="status-icons"> | |
| <!-- Signal/WiFi --> | |
| <svg viewBox="0 0 24 24"><path d="M12 21l3-3H9l3 3zM2 9l2 2c4-4 12-4 16 0l2-2C17 5 7 5 2 9zm5 5l2 2c2-2 6-2 8 0l2-2c-3-3-9-3-12 0z"/></svg> | |
| <!-- Battery --> | |
| <svg viewBox="0 0 24 24"><path d="M16 7V5h-2v2H6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2z"/></svg> | |
| </div> | |
| </div> | |
| <!-- Top toolbar --> | |
| <div class="toolbar"> | |
| <div class="toolbar-left"> | |
| <div class="icon-btn" title="Back"> | |
| <svg viewBox="0 0 24 24"><path d="M15.5 19l-7-7 7-7" stroke="#5F6368" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg> | |
| </div> | |
| </div> | |
| <div class="toolbar-right"> | |
| <div class="icon-btn" title="Search"> | |
| <svg viewBox="0 0 24 24"><path d="M10 3a7 7 0 105.2 12l4.3 4.3 1.4-1.4-4.3-4.3A7 7 0 0010 3zm0 2a5 5 0 110 10A5 5 0 0110 5z"/></svg> | |
| </div> | |
| <div class="text-aa">Aa</div> | |
| <div class="icon-btn" title="More"> | |
| <svg viewBox="0 0 24 24"><circle cx="12" cy="5" r="2.2"/><circle cx="12" cy="12" r="2.2"/><circle cx="12" cy="19" r="2.2"/></svg> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Carousel --> | |
| <div class="carousel"> | |
| <!-- Left preview card (partially visible) --> | |
| <div class="card small preview-left"> | |
| <div class="stripe"></div> | |
| </div> | |
| <!-- Center book card --> | |
| <div class="card medium book-card"> | |
| <div class="pad"> | |
| <div class="book-title"> | |
| Real-Time Big Data<br> | |
| Analytics: <br> | |
| Emerging<br> | |
| Architecture | |
| </div> | |
| <div class="author">Mike Barlow</div> | |
| <div class="publisher">O'REILLY</div> | |
| <div class="cities">Beijing 路 Cambridge 路 Farnham 路 K枚ln 路 Sebastopol 路 Tokyo</div> | |
| </div> | |
| <div class="card-bottom"> | |
| <div>1 page left in chapter</div> | |
| <div>19%</div> | |
| </div> | |
| </div> | |
| <!-- Right preview card (partially visible) --> | |
| <div class="card small preview-right"> | |
| <div class="pad"> | |
| <div class="heading">C</div> | |
| <div class="line" style="width: 80%;"></div> | |
| <div class="line" style="width: 88%;"></div> | |
| <div class="line" style="width: 76%;"></div> | |
| <div class="line" style="width: 92%;"></div> | |
| <div class="line" style="width: 84%;"></div> | |
| <div class="line" style="width: 65%;"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bottom controls --> | |
| <div class="bottom-controls"> | |
| <div class="controls-inner"> | |
| <div class="list-icon" title="Contents"> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M3 6h14v2H3V6zm0 5h14v2H3v-2zm0 5h14v2H3v-2z"/> | |
| <circle cx="21" cy="7" r="1.6"/> | |
| <circle cx="21" cy="12" r="1.6"/> | |
| <circle cx="21" cy="17" r="1.6"/> | |
| </svg> | |
| </div> | |
| <div class="slider"> | |
| <div class="track"></div> | |
| <div class="progress"></div> | |
| <div class="thumb"></div> | |
| </div> | |
| <div class="page-indicator">4 / 16</div> | |
| </div> | |
| </div> | |
| <!-- Gesture bar --> | |
| <div class="gesture-bar"></div> | |
| </div> | |
| </body> | |
| </html> |