AndroidCode / code /10022 /10022_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Italian Recipes</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #F3F3F3;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 120px; background: #3D3D3D; color: #EEE;
display: flex; align-items: center; padding: 0 40px; font-size: 32px;
}
.status-spacer { flex: 1; }
.status-icon {
width: 36px; height: 36px; margin-left: 24px;
border-radius: 50%; background: #DADADA;
}
/* App bar */
.app-bar {
position: absolute; top: 120px; left: 0; right: 0;
height: 160px; background: #FFFFFF; color: #222;
display: flex; align-items: center; padding: 0 32px; box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.back-btn {
width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin-right: 12px;
}
.back-btn svg { width: 48px; height: 48px; }
.app-title { font-size: 64px; font-weight: 700; letter-spacing: 0.5px; }
/* List area */
.content {
position: absolute; top: 280px; left: 0; right: 0; bottom: 0;
padding: 32px 0 120px 0; overflow: hidden;
}
.scroll {
height: 100%; overflow-y: auto; padding: 0 32px 140px 32px;
}
/* Cards */
.card {
position: relative; width: 1016px; margin: 24px auto;
border-radius: 34px; overflow: hidden; background: #FFFFFF;
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.card .media {
position: relative; width: 100%; height: 560px; background: #E0E0E0;
border: 1px solid #BDBDBD; display: flex; align-items: center; justify-content: center; color: #757575; font-size: 36px; font-weight: 600;
}
.card .media .label { padding: 0 24px; text-align: center; }
.card .gradient {
position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%);
}
.card .content-overlay {
position: absolute; left: 40px; right: 140px; bottom: 36px; color: #FFF;
}
.stars { font-size: 32px; color: #FF6F3D; letter-spacing: 2px; margin-bottom: 12px; }
.title { font-size: 56px; font-weight: 700; line-height: 68px; margin: 8px 0 6px 0; }
.brand { font-size: 28px; letter-spacing: 2px; color: rgba(255,255,255,0.85); text-transform: uppercase; }
/* Guided pill */
.guided {
position: absolute; top: 28px; left: 28px; background: #FFFFFF; color: #333;
border-radius: 999px; padding: 16px 26px; display: inline-flex; align-items: center; font-size: 32px; font-weight: 700;
box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.guided svg { width: 34px; height: 34px; margin-right: 16px; }
/* Add button */
.add-btn {
position: absolute; right: 36px; bottom: 36px; width: 96px; height: 96px;
background: #2CA7A1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.add-btn svg { width: 44px; height: 44px; }
/* Black card variant */
.card.black {
background: #000;
}
.card.black .media { background: #000; border: none; color: #AAA; }
.card.black .gradient { background: none; }
.card.black .content-overlay .brand { color: rgba(255,255,255,0.8); }
/* Bottom home indicator */
.home-indicator {
position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
width: 360px; height: 14px; background: #BDBDBD; border-radius: 7px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>8:43</div>
<div style="margin-left: 24px;">18Β°</div>
<div style="margin-left: 24px;">M</div>
<div style="margin-left: 24px;">32Β°</div>
<div class="status-spacer"></div>
<div class="status-icon"></div>
<div class="status-icon"></div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M15.5 4.5L7 12l8.5 7.5" fill="none" stroke="#222" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">Italian</div>
</div>
<!-- Content -->
<div class="content">
<div class="scroll">
<!-- Card 1 -->
<div class="card">
<div class="media">
<div class="label">[IMG: Margherita Naan Pizzas]</div>
<div class="gradient"></div>
</div>
<div class="guided" style="display:none;"></div>
<div class="content-overlay">
<div class="stars">β˜…β˜…β˜…β˜…β˜…</div>
<div class="title">Quick Margherita Naan Pizzas</div>
<div class="brand">YUMMLY</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 2 (Black) -->
<div class="card black">
<div class="media">
<div class="label">[Black Featured Recipe Card]</div>
</div>
<div class="guided">
<svg viewBox="0 0 24 24">
<path d="M7 10V8a5 5 0 0110 0v2M6 10h12v9H6z" fill="none" stroke="#222" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
GUIDED
</div>
<div class="content-overlay">
<div class="stars">β˜…β˜…β˜…β˜…β˜†</div>
<div class="title">Baked Ziti Alfredo</div>
<div class="brand">YUMMLY</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="media">
<div class="label">[IMG: Chicken Alfredo Stuffed Spaghetti Squash]</div>
<div class="gradient"></div>
</div>
<div class="guided">
<svg viewBox="0 0 24 24">
<path d="M7 10V8a5 5 0 0110 0v2M6 10h12v9H6z" fill="none" stroke="#222" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
GUIDED
</div>
<div class="content-overlay">
<div class="stars">β˜…β˜…β˜…β˜…β˜…</div>
<div class="title">Chicken Alfredo Stuffed Spaghetti Squash</div>
<div class="brand">YUMMLY</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="media">
<div class="label">[IMG: Easy Garlic Bread]</div>
<div class="gradient"></div>
</div>
<div class="guided">
<svg viewBox="0 0 24 24">
<path d="M7 10V8a5 5 0 0110 0v2M6 10h12v9H6z" fill="none" stroke="#222" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
GUIDED
</div>
<div class="content-overlay">
<div class="stars">β˜…β˜…β˜…β˜…β˜…</div>
<div class="title">Easy Garlic Bread</div>
<div class="brand">YUMMLY</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Bottom home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>