| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Recipe - Chinese fried rice</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #000; |
| color: #fff; |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 28px; |
| left: 36px; |
| right: 36px; |
| height: 60px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| opacity: 0.95; |
| pointer-events: none; |
| } |
| .status-left { |
| display: flex; |
| align-items: center; |
| gap: 22px; |
| font-weight: 600; |
| font-size: 38px; |
| } |
| .status-right { |
| display: flex; |
| align-items: center; |
| gap: 28px; |
| } |
| .icon-mini { width: 42px; height: 42px; } |
| |
| |
| .hero { |
| position: absolute; |
| left: 0; |
| top: 0; |
| width: 1080px; |
| height: 1000px; |
| overflow: hidden; |
| } |
| .hero .img { |
| width: 100%; |
| height: 100%; |
| background: #E0E0E0; |
| border-bottom: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| font-size: 40px; |
| letter-spacing: 0.5px; |
| } |
| .hero::after { |
| content: ""; |
| position: absolute; |
| inset: 0; |
| |
| background: |
| linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.92)); |
| pointer-events: none; |
| } |
| |
| |
| .back-btn { |
| position: absolute; |
| top: 116px; |
| left: 44px; |
| width: 100px; |
| height: 100px; |
| border-radius: 50%; |
| background: rgba(0,0,0,0.65); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .back-btn svg { width: 48px; height: 48px; } |
| |
| |
| .play-btn { |
| position: absolute; |
| left: 50%; |
| top: 420px; |
| transform: translate(-50%, -50%); |
| width: 240px; |
| height: 240px; |
| border-radius: 50%; |
| border: 8px solid rgba(255,255,255,0.95); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .play-btn .dot { |
| position: absolute; |
| right: 36px; |
| bottom: 36px; |
| width: 22px; |
| height: 22px; |
| background: #d6b01f; |
| border-radius: 50%; |
| } |
| .play-btn svg { width: 120px; height: 120px; } |
| |
| |
| .content { |
| position: absolute; |
| top: 1000px; |
| left: 0; |
| right: 0; |
| padding: 56px 72px 0 72px; |
| background: #000; |
| } |
| |
| .title { |
| font-size: 96px; |
| line-height: 1.1; |
| text-align: center; |
| font-weight: 700; |
| margin: 18px 0 28px; |
| } |
| |
| .rating { |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| gap: 16px; |
| margin-top: 8px; |
| } |
| .rating svg { width: 44px; height: 44px; } |
| .rating-sub { |
| margin-top: 18px; |
| text-align: center; |
| color: #A9A9A9; |
| font-size: 36px; |
| } |
| |
| .actions { |
| margin-top: 64px; |
| display: flex; |
| justify-content: space-around; |
| align-items: center; |
| text-align: center; |
| } |
| .action { |
| color: #EDEDED; |
| font-size: 36px; |
| } |
| .action .label { |
| margin-top: 12px; |
| font-size: 38px; |
| } |
| .action svg { |
| width: 64px; height: 64px; |
| } |
| |
| .divider { |
| margin: 56px 0 0; |
| height: 1px; |
| background: #272727; |
| width: calc(100% + 144px); |
| position: relative; |
| left: -72px; |
| } |
| |
| .author { |
| display: flex; |
| align-items: center; |
| gap: 32px; |
| padding: 36px 0 0 0; |
| } |
| .avatar { |
| width: 172px; |
| height: 172px; |
| border-radius: 50%; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| font-size: 26px; |
| text-align: center; |
| } |
| .author-info .name { |
| font-size: 52px; |
| font-weight: 700; |
| } |
| .author-info .role { |
| margin-top: 6px; |
| font-size: 38px; |
| color: #B5B5B5; |
| } |
| |
| |
| .home-indicator { |
| position: absolute; |
| left: 50%; |
| bottom: 36px; |
| transform: translateX(-50%); |
| width: 340px; |
| height: 10px; |
| background: #E6E6E6; |
| opacity: 0.65; |
| border-radius: 10px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div class="status-left"> |
| <div>8:53</div> |
| <div style="opacity:0.9;"> |
| <svg class="icon-mini" viewBox="0 0 24 24" fill="none"> |
| <path d="M6 14c0-2.8 2.3-5 5-5 1.3 0 2.4.5 3.3 1.3.5-.2 1-.3 1.7-.3 2.2 0 4 1.8 4 4H6z" fill="#fff"/> |
| </svg> |
| </div> |
| </div> |
| <div class="status-right"> |
| <svg class="icon-mini" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round"> |
| <path d="M3 16c3.5-3.5 9.5-3.5 13 0"/> |
| <path d="M6 13c2.6-2.6 7.4-2.6 10 0"/> |
| <path d="M9 10c1.6-1.6 4.4-1.6 6 0"/> |
| </svg> |
| <svg class="icon-mini" viewBox="0 0 26 16" fill="none" stroke="#fff" stroke-width="2"> |
| <rect x="1" y="1" width="20" height="14" rx="2" /> |
| <rect x="22" y="5" width="3" height="6" rx="1" fill="#fff" stroke="none"/> |
| <rect x="3" y="3" width="16" height="10" fill="#fff" stroke="none"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="hero"> |
| <div class="img">[IMG: Bowl of fried rice]</div> |
| </div> |
|
|
| |
| <div class="back-btn"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"> |
| <path d="M15 19l-7-7 7-7"/> |
| </svg> |
| </div> |
|
|
| |
| <div class="play-btn"> |
| <svg viewBox="0 0 100 100" fill="#fff"> |
| <polygon points="38,28 74,50 38,72"/> |
| </svg> |
| <div class="dot"></div> |
| </div> |
|
|
| |
| <div class="content"> |
| <div class="title">Chinese fried rice</div> |
|
|
| <div class="rating"> |
| |
| <svg viewBox="0 0 24 24"><polygon fill="#FF6D00" points="12,2 15,9 22,9 16.5,13.5 18.5,21 12,16.8 5.5,21 7.5,13.5 2,9 9,9"/></svg> |
| <svg viewBox="0 0 24 24"><polygon fill="#FF6D00" points="12,2 15,9 22,9 16.5,13.5 18.5,21 12,16.8 5.5,21 7.5,13.5 2,9 9,9"/></svg> |
| <svg viewBox="0 0 24 24"><polygon fill="#FF6D00" points="12,2 15,9 22,9 16.5,13.5 18.5,21 12,16.8 5.5,21 7.5,13.5 2,9 9,9"/></svg> |
| <svg viewBox="0 0 24 24"><polygon fill="#FF6D00" points="12,2 15,9 22,9 16.5,13.5 18.5,21 12,16.8 5.5,21 7.5,13.5 2,9 9,9"/></svg> |
| <svg viewBox="0 0 24 24"><polygon fill="#7A7A7A" points="12,2 15,9 22,9 16.5,13.5 18.5,21 12,16.8 5.5,21 7.5,13.5 2,9 9,9"/></svg> |
| </div> |
| <div class="rating-sub">Based on 215 ratings</div> |
|
|
| <div class="actions"> |
| <div class="action"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"> |
| <path d="M12.1 20.3l-1.1-1C6 15 3 12.3 3 9a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 3.3-3 6-8 10.3l-1 .8z"/> |
| </svg> |
| <div class="label">60002</div> |
| </div> |
| <div class="action"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"> |
| <path d="M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1z"/> |
| </svg> |
| <div class="label">Save</div> |
| </div> |
| <div class="action"> |
| <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> |
| <circle cx="18" cy="5" r="3"/> |
| <circle cx="6" cy="12" r="3"/> |
| <circle cx="18" cy="19" r="3"/> |
| <path d="M8.7 11.2l6.6-3.4M8.7 12.8l6.6 3.4"/> |
| </svg> |
| <div class="label">Share</div> |
| </div> |
| </div> |
|
|
| <div class="divider"></div> |
|
|
| <div class="author"> |
| <div class="avatar">[IMG: Chef avatar]</div> |
| <div class="author-info"> |
| <div class="name">Yingpin</div> |
| <div class="role">Contributor</div> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="home-indicator"></div> |
| </div> |
| </body> |
| </html> |