File size: 4,703 Bytes
0e1717f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Recipe Step UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Helvetica Neue", Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #2B2D31;
}
/* Top status bar */
.status-bar {
position: relative;
height: 220px;
background: #B0124E;
color: #FFFFFF;
padding: 36px 48px 0 48px;
box-sizing: border-box;
}
.status-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.time {
font-size: 46px;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 18px;
font-size: 34px;
font-weight: 600;
}
.status-icons svg {
display: block;
}
/* Header card */
.header-card {
position: relative;
margin-top: -30px;
background: #1F2126;
color: #fff;
height: 220px;
border-radius: 36px 36px 0 0;
padding: 40px 48px;
box-sizing: border-box;
}
.header-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.step-count {
font-size: 48px;
font-weight: 800;
letter-spacing: 1px;
}
.section-title {
font-size: 46px;
font-weight: 800;
color: #F08FA0;
}
.underline {
position: absolute;
left: 0;
bottom: 0;
height: 8px;
width: 220px;
background: #B0124E;
border-radius: 0 6px 0 0;
}
/* Media/Image Area */
.media-area {
width: 100%;
height: 900px;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 36px;
position: relative;
box-sizing: border-box;
}
.media-label {
padding: 16px 24px;
background: rgba(255,255,255,0.75);
border-radius: 8px;
border: 1px solid #BDBDBD;
}
.overlay-text {
position: absolute;
top: 24px;
left: 24px;
color: #2E3136;
font-weight: 800;
font-size: 40px;
letter-spacing: 0.5px;
display: flex;
flex-direction: column;
line-height: 1.1;
}
.overlay-text small {
font-weight: 600;
font-size: 32px;
color: #565A61;
}
/* Description area */
.description {
background: #2B2D31;
color: #FFFFFF;
padding: 48px;
font-size: 44px;
line-height: 64px;
box-sizing: border-box;
}
/* Bottom gesture bar */
.gesture-bar {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 12px;
background: #E6E6E6;
border-radius: 12px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-row">
<div class="time">7:51</div>
<div class="status-icons">
<!-- Wi-Fi Icon -->
<svg width="44" height="44" viewBox="0 0 24 24">
<g fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round">
<path d="M3 9c4.5-4 13.5-4 18 0"/>
<path d="M6 12c3-2.5 9-2.5 12 0"/>
<path d="M9 15c1.5-1 4.5-1 6 0"/>
<circle cx="12" cy="18" r="1.5" fill="#FFFFFF" stroke="none"/>
</g>
</svg>
<!-- Battery Icon -->
<svg width="48" height="48" viewBox="0 0 28 18">
<rect x="1" y="2" width="22" height="14" rx="2" ry="2" fill="none" stroke="#FFFFFF" stroke-width="2"/>
<rect x="3" y="4" width="12" height="10" rx="1" ry="1" fill="#FFFFFF"/>
<rect x="24" y="6" width="3" height="6" rx="1" ry="1" fill="#FFFFFF"/>
</svg>
<span>100%</span>
</div>
</div>
</div>
<!-- Section Header -->
<div class="header-card">
<div class="header-row">
<div class="step-count">2 of 10</div>
<div class="section-title">Ingredients</div>
</div>
<div class="underline"></div>
</div>
<!-- Media/Image Placeholder -->
<div class="media-area">
<div class="overlay-text">
<span>SALT</span>
<small>1 TSP</small>
</div>
<div class="media-label">[IMG: Mixing ingredients in glass bowl]</div>
</div>
<!-- Description Text -->
<div class="description">
Make the cinnamon topping: In a medium bowl, mix together the butter, brown sugar, salt, flour, McCormick® Ground Cinnamon, and pecans. Microwave for 30 seconds.
</div>
<!-- Bottom Gesture Bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html> |