AndroidCode / code /10020 /10020_4.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>Pizza Menu</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Segoe UI", Arial, sans-serif; color: #222; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #FFFFFF;
}
/* General */
.screen { padding: 48px 54px 140px 54px; }
.row { display: flex; align-items: center; }
.spacer { height: 28px; }
/* Header */
.header { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.header-left { display: flex; align-items: center; gap: 24px; }
.title { font-size: 56px; font-weight: 800; letter-spacing: 0.3px; }
.icon-btn { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.icon { width: 48px; height: 48px; }
.search { margin-right: 8px; }
/* Section */
.section-title { font-size: 44px; font-weight: 800; text-transform: uppercase; margin-top: 40px; }
.underline { width: 180px; height: 8px; background: #3F6F3B; border-radius: 4px; margin: 14px 0 36px 0; }
/* Veg icon */
.veg { width: 36px; height: 36px; border: 3px solid #3F7D39; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.veg-inner { width: 16px; height: 16px; background: #3F7D39; border-radius: 50%; }
/* Item */
.item { display: flex; gap: 40px; margin-bottom: 66px; }
.item-left { flex: 1; min-width: 0; }
.item-right { width: 360px; display: flex; flex-direction: column; align-items: center; }
.name { font-size: 46px; font-weight: 700; margin-bottom: 8px; }
.price { font-size: 42px; font-weight: 800; margin-bottom: 22px; }
.badge-row { display: flex; align-items: center; gap: 14px; color: #5B5B5B; font-size: 34px; margin-bottom: 18px; }
.badge-j { width: 44px; height: 44px; border-radius: 50%; background: #F3A533; color: #111; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.desc { font-size: 34px; line-height: 1.35; color: #6F6F6F; }
/* Image placeholder */
.photo {
width: 300px; height: 300px; background: #E0E0E0;
border: 1px solid #BDBDBD; border-radius: 30px;
display: flex; align-items: center; justify-content: center;
color: #757575; text-align: center; box-shadow: 0 8px 18px rgba(0,0,0,0.12);
margin-bottom: 22px;
}
/* Add button */
.add-btn {
width: 300px; height: 92px; border-radius: 18px;
background: #EAF2E6; border: 2px solid #92A985;
color: #2E6E34; font-size: 40px; font-weight: 800;
display: flex; align-items: center; justify-content: center; gap: 14px;
box-shadow: 0 4px 0 rgba(0,0,0,0.18);
}
.customizable { font-size: 28px; color: #777; margin-top: 12px; }
.divider { height: 2px; background: #E8E8E8; margin: 50px 0 40px; }
/* Floating MENU button */
.menu-fab {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 210px; width: 420px; height: 120px; border-radius: 28px;
background: #0B0B0B; color: #fff; display: flex; align-items: center; justify-content: center; gap: 22px;
box-shadow: 0 14px 28px rgba(0,0,0,0.35);
font-size: 40px; font-weight: 800;
}
.menu-fab svg { width: 54px; height: 54px; }
/* Bottom safe area */
.bottom-bar {
position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: #000;
}
.home-indicator {
position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%);
width: 280px; height: 10px; background: #FFFFFF; border-radius: 6px; opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<div class="screen">
<!-- Header -->
<div class="header">
<div class="header-left">
<div class="icon-btn">
<svg class="icon" viewBox="0 0 24 24">
<path d="M14 5 L7 12 L14 19" stroke="#171717" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Pizza</div>
</div>
<div class="icon-btn search">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6.5" stroke="#111" stroke-width="2.2" fill="none"/>
<path d="M16 16 L22 22" stroke="#111" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Section: SIMPLE -->
<div class="section-title">SIMPLE</div>
<div class="underline"></div>
<!-- Item 1 -->
<div class="item">
<div class="item-left">
<div class="veg"><div class="veg-inner"></div></div>
<div class="name">Margherita Pizza</div>
<div class="price">₹125</div>
<div class="badge-row">
<div class="badge-j">J</div>
<div>Jain Available</div>
</div>
<div class="desc">Enjoy 100% Real Mozzarella Cheese Over A Zesty Gravy</div>
</div>
<div class="item-right">
<div class="photo">[IMG: Margherita Pizza]</div>
<div class="add-btn">
<span>ADD</span>
<svg viewBox="0 0 24 24">
<path d="M12 5 L12 19 M5 12 L19 12" stroke="#2E6E34" stroke-width="2.4" stroke-linecap="round"/>
</svg>
</div>
<div class="customizable">Customizable</div>
</div>
</div>
<!-- Section: STYLISH -->
<div class="section-title" style="margin-top: 10px;">STYLISH</div>
<div class="underline"></div>
<!-- Item 2 -->
<div class="item">
<div class="item-left">
<div class="veg"><div class="veg-inner"></div></div>
<div class="name">Mac O Mac</div>
<div class="price">₹155</div>
<div class="desc">Cheesey macaroni with storm of jalapeno dips & mozzarella cheddar cheese</div>
</div>
<div class="item-right">
<div class="photo">[IMG: Mac O Mac Pizza]</div>
<div class="add-btn">
<span>ADD</span>
<svg viewBox="0 0 24 24">
<path d="M12 5 L12 19 M5 12 L19 12" stroke="#2E6E34" stroke-width="2.4" stroke-linecap="round"/>
</svg>
</div>
<div class="customizable">Customizable</div>
</div>
</div>
<div class="divider"></div>
<!-- Item 3 -->
<div class="item">
<div class="item-left">
<div class="veg"><div class="veg-inner"></div></div>
<div class="name">Corn Wave</div>
<div class="price">₹155</div>
<div class="desc">Sweet & juicy golden corn with real mozzarella & cheddar cheese</div>
</div>
<div class="item-right">
<div class="photo">[IMG: Corn Wave Pizza]</div>
<div class="add-btn">
<span>ADD</span>
<svg viewBox="0 0 24 24">
<path d="M12 5 L12 19 M5 12 L19 12" stroke="#2E6E34" stroke-width="2.4" stroke-linecap="round"/>
</svg>
</div>
<div class="customizable">Customizable</div>
</div>
</div>
</div>
<!-- Floating MENU pill -->
<div class="menu-fab">
<svg viewBox="0 0 24 24">
<path d="M6 4 L6 12 M8 4 L8 12 M6 8 L10 8" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
<path d="M16 4 L20 8 M16 20 L20 16" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
<div>MENU</div>
</div>
<!-- Bottom safe area -->
<div class="bottom-bar"></div>
<div class="home-indicator"></div>
</div>
</body>
</html>