File size: 5,208 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 201 202 203 | <html>
<head>
<meta charset="UTF-8">
<title>E-Reader UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #e6d3b4; /* sepia page */
border-radius: 0;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #0b0b0b;
color: #ffffff;
}
.status-left {
position: absolute;
top: 36px;
left: 40px;
font-family: "SF Pro Text", Arial, sans-serif;
font-size: 48px;
letter-spacing: 1px;
}
.status-right {
position: absolute;
top: 36px;
right: 40px;
display: flex;
gap: 22px;
align-items: center;
}
.icon {
width: 44px;
height: 44px;
}
/* Reading area */
.page {
position: absolute;
top: 120px;
left: 40px;
right: 40px;
bottom: 180px;
padding: 0 10px;
color: #5a4b39;
font-family: Georgia, "Times New Roman", serif;
font-size: 50px;
line-height: 1.45;
hyphens: auto;
}
.para { margin: 28px 0; }
/* Floating font-size control */
.font-modal {
position: absolute;
top: 860px;
left: 120px;
width: 840px;
height: 180px;
background: #2f2f2f;
border-radius: 18px;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
color: #e9e9e9;
}
.font-modal .label {
position: absolute;
top: 22px;
left: 40px;
font-size: 38px;
font-family: Arial, sans-serif;
letter-spacing: 1px;
color: #bfbfbf;
}
.font-controls {
position: absolute;
left: 0; right: 0;
top: 70px;
height: 100px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 60px;
}
.circle-btn {
width: 88px;
height: 88px;
border-radius: 50%;
border: 4px solid #cfcfcf;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 54px;
box-sizing: border-box;
}
.font-value {
color: #ffffff;
font-size: 54px;
font-family: Arial, sans-serif;
}
/* Bottom progress bar */
.progress-wrap {
position: absolute;
bottom: 128px;
left: 40px;
width: 1000px;
height: 14px;
}
.progress-track {
position: absolute;
top: 4px;
left: 28px;
right: 28px;
height: 6px;
background: #cbb59a;
border-radius: 3px;
}
.progress-dot {
position: absolute;
top: 0;
width: 14px;
height: 14px;
border-radius: 50%;
background: #cbb59a;
}
.progress-dot.left { left: 0; }
.progress-dot.right { right: 0; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 44px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 16px;
background: #cfc6b9;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div class="status-left">8:16</div>
<div class="status-right">
<!-- Simple round icon -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#ffffff"/>
<circle cx="12" cy="12" r="6" fill="#0b0b0b"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 18">
<rect x="2" y="2" width="22" height="14" rx="2" ry="2" fill="none" stroke="#ffffff" stroke-width="2"/>
<rect x="24" y="6" width="3" height="6" fill="#ffffff"/>
<rect x="4" y="4" width="16" height="10" fill="#ffffff"/>
</svg>
</div>
</div>
<div class="page">
<p class="para">
her mind that she had never before seen a rabbit with either a waistcoat‑pocket, or a watch to take out of it, and, burning with curiosity, she ran across the field after it and was just in time to see it pop down a large rabbit‑hole, under the hedge. In another moment, down went Alice after it!
</p>
<p class="para">
The rabbit‑hole went straight on like a tunnel for some way, and then dipped suddenly; she had not a moment to think about stopping herself before she found herself falling down what seemed to be a very deep well.
</p>
<div class="font-modal">
<div class="label">FONT SIZE</div>
<div class="font-controls">
<div class="circle-btn">−</div>
<div class="font-value">50</div>
<div class="circle-btn">+</div>
</div>
</div>
<p class="para">
Either the well was very deep, or she fell very slowly, for she had plenty of time, as she went down, to look about her. First, she tried to make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well and noticed that they were filled with cupboards and book‑shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed. It was labeled "ORANGE MARMALADE," but—
</p>
</div>
<div class="progress-wrap">
<div class="progress-dot left"></div>
<div class="progress-track"></div>
<div class="progress-dot right"></div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html> |