| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Recipe Detail</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #fff; } |
| #render-target { |
| width: 1080px; height: 2400px; position: relative; overflow: hidden; |
| background: #000; border-radius: 28px; |
| } |
| |
| |
| .status-bar { |
| position: absolute; top: 24px; left: 32px; right: 32px; height: 48px; |
| display: flex; align-items: center; justify-content: space-between; color: #fff; opacity: 0.95; |
| pointer-events: none; |
| } |
| .status-left { display: flex; align-items: center; gap: 16px; } |
| .time { font-size: 36px; font-weight: 600; letter-spacing: 0.3px; } |
| .status-right { display: flex; align-items: center; gap: 22px; } |
| .status-icon { width: 36px; height: 36px; opacity: 0.95; } |
| |
| |
| .hero { |
| position: absolute; top: 0; left: 0; width: 100%; height: 1180px; |
| } |
| .hero .img-ph { |
| position: absolute; inset: 0; |
| background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575; |
| display: flex; align-items: flex-end; justify-content: flex-start; |
| padding: 24px; font-size: 28px; letter-spacing: 0.2px; |
| } |
| |
| |
| .toast { |
| position: absolute; top: 150px; left: 50%; transform: translateX(-50%); |
| background: #2b2b2b; color: #fff; padding: 28px 40px; |
| border-radius: 28px; width: 900px; font-size: 34px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); |
| text-align: left; |
| } |
| |
| |
| .play { |
| position: absolute; top: 50%; left: 50%; transform: translate(-50%, -40%); |
| width: 240px; height: 240px; border-radius: 50%; |
| border: 8px solid rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; |
| background: rgba(255,255,255,0.05); |
| } |
| .play svg { width: 90px; height: 90px; fill: #fff; } |
| |
| |
| .content { |
| position: absolute; top: 1180px; left: 0; right: 0; bottom: 0; |
| background: #000; |
| } |
| .title { |
| margin: 72px 64px 24px; font-size: 86px; line-height: 1.1; font-weight: 700; text-align: center; |
| } |
| |
| .rating { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; } |
| .star { width: 44px; height: 44px; } |
| .star svg { width: 100%; height: 100%; } |
| .star.filled svg path { fill: #ff6d2e; } |
| .star.empty svg path { fill: #494949; } |
| |
| .rating-note { margin-top: 12px; text-align: center; color: #b5b5b5; font-size: 36px; } |
| |
| .actions { |
| margin: 56px 40px 24px; display: flex; justify-content: space-around; align-items: center; |
| } |
| .action { display: flex; align-items: center; gap: 18px; color: #fff; font-size: 36px; } |
| .action .icon { width: 54px; height: 54px; } |
| |
| .divider { height: 1px; background: #1f1f1f; margin: 48px 40px; } |
| |
| .author { |
| display: flex; align-items: center; gap: 28px; padding: 24px 40px; |
| } |
| .avatar { |
| width: 140px; height: 140px; border-radius: 50%; background: #E0E0E0; border: 1px solid #BDBDBD; |
| display: flex; align-items: center; justify-content: center; color: #757575; font-size: 24px; |
| flex: 0 0 auto; |
| } |
| .author-info { display: flex; flex-direction: column; gap: 8px; } |
| .author-name { font-size: 44px; font-weight: 700; } |
| .author-role { font-size: 32px; color: #bfbfbf; } |
| |
| .home-indicator { |
| position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); |
| width: 320px; height: 10px; background: #d9d9d9; border-radius: 8px; opacity: 0.95; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="hero"> |
| <div class="img-ph">[IMG: Bowl of Chinese fried rice on marble table]</div> |
|
|
| |
| <div class="status-bar"> |
| <div class="status-left"> |
| <div class="time">8:54</div> |
| <svg class="status-icon" viewBox="0 0 24 24"><path fill="#fff" d="M3 19h18a9 9 0 00-18 0z"/></svg> |
| </div> |
| <div class="status-right"> |
| <svg class="status-icon" viewBox="0 0 24 24"> |
| <path fill="#fff" d="M2 18h2a8 8 0 0116 0h2A10 10 0 002 18z"/> |
| </svg> |
| <svg class="status-icon" viewBox="0 0 24 24"> |
| <rect x="3" y="7" width="16" height="10" rx="2" ry="2" fill="none" stroke="#fff" stroke-width="2"/> |
| <rect x="20" y="10" width="2" height="4" fill="#fff"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="toast">Hooray! You've successfully saved your recipe!</div> |
|
|
| |
| <div class="play" aria-label="Play video"> |
| <svg viewBox="0 0 100 100"> |
| <polygon points="35,25 78,50 35,75"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="content"> |
| <div class="title">Chinese fried rice</div> |
|
|
| <div class="rating" aria-label="4 out of 5 stars"> |
| <div class="star filled"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18l-6.2 3.9L7 14.1 2 9.3l6.9-1L12 2z"/></svg> |
| </div> |
| <div class="star filled"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18l-6.2 3.9L7 14.1 2 9.3l6.9-1L12 2z"/></svg> |
| </div> |
| <div class="star filled"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18l-6.2 3.9L7 14.1 2 9.3l6.9-1L12 2z"/></svg> |
| </div> |
| <div class="star filled"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18l-6.2 3.9L7 14.1 2 9.3l6.9-1L12 2z"/></svg> |
| </div> |
| <div class="star empty"> |
| <svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18l-6.2 3.9L7 14.1 2 9.3l6.9-1L12 2z"/></svg> |
| </div> |
| </div> |
| <div class="rating-note">Based on 215 ratings</div> |
|
|
| <div class="actions"> |
| <div class="action"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="none" stroke="#fff" stroke-width="2" d="M12 21s-6.7-4.1-9.2-8C1 9.2 2.3 5.8 5.6 5.3 7.4 5 9 6.2 10 7.4 11 6.2 12.6 5 14.4 5.3 17.7 5.8 19 9.2 17.2 13c-2.5 3.9-9.2 8-9.2 8z"/> |
| </svg> |
| <span>60002</span> |
| </div> |
| <div class="action"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="none" stroke="#fff" stroke-width="2" d="M6 2h12a2 2 0 012 2v16l-8-4-8 4V4a2 2 0 012-2z"/> |
| </svg> |
| <span>Save</span> |
| </div> |
| <div class="action"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <circle cx="6" cy="12" r="2" fill="#fff"/> |
| <circle cx="18" cy="6" r="2" fill="#fff"/> |
| <circle cx="18" cy="18" r="2" fill="#fff"/> |
| <path d="M7.8 11.2L16.2 7.2" stroke="#fff" stroke-width="2"/> |
| <path d=" pipelinesign" /> |
| <path d="M7.8 12.8L16.2 16.8" stroke="#fff NB" /> |
| </svg> |
| <span>Share</span> |
| </div> |
| </div> |
|
|
| <div class="divider"></div> |
|
|
| <div class="author"> |
| <div class="avatar">[IMG: Kitchen avatar]</div> |
| <div class="author-info"> |
| <div class="author-name">Yingpin</div> |
| <div class="author-role">Contributor</div> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="home-indicator"></div> |
| </div> |
| </body> |
| </html> |