AndroidCode / code /10028 /10028_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Reader with Keyboard</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000000;
font-family: "Roboto", Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
background: #0d0d0d;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
letter-spacing: 0.5px;
font-size: 34px;
line-height: 1;
}
.status-left, .status-right {
display: flex;
align-items: center;
gap: 24px;
}
.tiny-dot {
width: 30px;
height: 30px;
background: #ffffff;
border-radius: 50%;
opacity: 0.85;
}
.status-icon {
width: 44px;
height: 44px;
fill: none;
stroke: #ffffff;
stroke-width: 3;
}
.battery {
width: 54px;
height: 28px;
}
/* App toolbar */
.toolbar {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
height: 120px;
background: #101010;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
gap: 36px;
}
.tool-icon {
width: 64px;
height: 64px;
fill: none;
stroke: #ffffff;
stroke-width: 5;
opacity: 0.95;
}
.tool-icon.light {
stroke: #cfcfcf;
opacity: 0.6;
}
/* Reader page */
.page {
position: absolute;
top: 210px;
left: 0;
width: 1080px;
height: 1290px;
background: #ffffff;
color: #111111;
box-sizing: border-box;
padding: 72px 80px 0 80px;
}
.page p {
font-size: 36px;
line-height: 1.7;
margin: 0 0 28px 0;
}
/* Keyboard */
.keyboard {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 900px;
background: #1a1a1a;
color: #eaeaea;
box-sizing: border-box;
border-top: 1px solid #2c2c2c;
}
.kb-top-actions {
height: 120px;
display: flex;
align-items: center;
gap: 46px;
padding: 0 34px;
box-sizing: border-box;
}
.action-btn {
width: 92px;
height: 92px;
background: #222;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #333;
}
.action-btn svg, .action-btn span {
width: 56px;
height: 56px;
fill: none;
stroke: #eaeaea;
stroke-width: 4;
color: #eaeaea;
font-size: 28px;
letter-spacing: 1px;
}
.kb-rows {
padding: 10px 18px 0 18px;
box-sizing: border-box;
}
.row {
display: flex;
justify-content: space-between;
gap: 14px;
margin: 22px 0;
}
.key {
flex: 1;
height: 120px;
background: #262626;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
border: 1px solid #2f2f2f;
font-size: 54px;
font-weight: 500;
color: #f2f2f2;
text-transform: lowercase;
}
.row .key.small {
flex: 0 0 120px;
}
.row .key.wide {
flex: 3;
text-transform: none;
font-size: 38px;
color: #dedede;
}
.row .key.medium {
flex: 1.2;
}
.key .top-num {
position: absolute;
top: 10px;
left: 16px;
font-size: 26px;
color: #bfbfbf;
opacity: 0.85;
}
.kb-bottom-row {
padding: 0 18px;
box-sizing: border-box;
}
/* Gesture bar */
.gesture-bar {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
width: 580px;
height: 10px;
background: #cfcfcf;
border-radius: 8px;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>12:07</div>
<div class="tiny-dot"></div>
<div class="tiny-dot"></div>
<div class="tiny-dot"></div>
<div class="tiny-dot"></div>
<div class="tiny-dot"></div>
<div class="tiny-dot" style="opacity:0.5;"></div>
</div>
<div class="status-right">
<!-- Silent bell -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M6 18h12M12 3c-3 0-6 3-6 7v4l-2 2m14-6v-4c0-4-3-7-6-7m6 11l2 2" />
</svg>
<!-- WiFi -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0M5 12c4-3 10-3 14 0M8 16c3-2 7-2 10 0M12 20l2-2-2-2-2 2 2 2z"/>
</svg>
<!-- Battery -->
<svg class="battery" viewBox="0 0 28 14">
<rect x="1" y="1" width="22" height="12" stroke="#fff" fill="none" stroke-width="2"></rect>
<rect x="24" y="4" width="3" height="6" fill="#fff"></rect>
<rect x="3" y="3" width="16" height="8" fill="#fff"></rect>
</svg>
</div>
</div>
<!-- Toolbar -->
<div class="toolbar">
<!-- Checkmark -->
<svg class="tool-icon" viewBox="0 0 24 24">
<path d="M5 13l4 4L19 7" />
</svg>
<!-- Undo -->
<svg class="tool-icon" viewBox="0 0 24 24">
<path d="M9 7L4 12l5 5M4 12h10a6 6 0 1 1 0 12" />
</svg>
<!-- Redo (dimmed) -->
<svg class="tool-icon light" viewBox="0 0 24 24">
<path d="M15 7l5 5-5 5M20 12H10a6 6 0 1 0 0 12" />
</svg>
<div style="flex:1"></div>
<!-- Search -->
<svg class="tool-icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" />
<path d="M14 14l7 7" />
</svg>
<!-- More (3 dots) -->
<svg class="tool-icon" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" />
<circle cx="12" cy="12" r="2" />
<circle cx="18" cy="12" r="2" />
</svg>
</div>
<!-- Reader page -->
<div class="page">
<p>She heard Mr. Ganz inhale sharply. After a second he said, “King to bishop one.”</p>
<p>“That’s mate in three,” Beth said, without turning. “First check is with the knight. The king has the two dark squares, and the bishop checks it. Then the knight mates.”</p>
<p>Mr. Ganz let out his breath slowly. “Jesus Christ!” he said.</p>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-top-actions">
<div class="action-btn">
<!-- apps grid -->
<svg viewBox="0 0 24 24">
<path d="M3 3h6v6H3zM15 3h6v6h-6zM3 15h6v6H3zM15 15h6v6h-6z" fill="#eaeaea" stroke="none"/>
</svg>
</div>
<div class="action-btn">
<!-- smile -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" />
<circle cx="9" cy="10" r="1" />
<circle cx="15" cy="10" r="1" />
<path d="M8 14c2 2 6 2 8 0" />
</svg>
</div>
<div class="action-btn"><span>GIF</span></div>
<div class="action-btn">
<!-- gear -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="3"/>
<path d="M12 2v4M12 18v4M2 12h4M18 12h4M4.5 4.5l2.8 2.8M16.7 16.7l2.8 2.8M19.5 4.5l-2.8 2.8M6.5 16.7l-2.8 2.8"/>
</svg>
</div>
<div class="action-btn">
<!-- translate G -->
<span style="font-weight:700;">G</span>
</div>
<div class="action-btn">
<!-- palette -->
<svg viewBox="0 0 24 24">
<path d="M12 3a9 9 0 1 0 0 18h3a3 3 0 0 0 0-6h-2" />
<circle cx="7" cy="10" r="1.2" />
<circle cx="10" cy="7" r="1.2" />
<circle cx="14" cy="7.5" r="1.2" />
<circle cx="17" cy="11" r="1.2" />
</svg>
</div>
<div class="action-btn" style="margin-left:auto;">
<!-- mic -->
<svg viewBox="0 0 24 24">
<rect x="9" y="4" width="6" height="10" rx="3"/>
<path d="M5 11c0 4 3 7 7 7s7-3 7-7M12 18v4" />
</svg>
</div>
</div>
<div class="kb-rows">
<!-- Row 1 -->
<div class="row">
<!-- q w e r t y u i o p with numbers -->
<div class="key"><span class="top-num">1</span>q</div>
<div class="key"><span class="top-num">2</span>w</div>
<div class="key"><span class="top-num">3</span>e</div>
<div class="key"><span class="top-num">4</span>r</div>
<div class="key"><span class="top-num">5</span>t</div>
<div class="key"><span class="top-num">6</span>y</div>
<div class="key"><span class="top-num">7</span>u</div>
<div class="key"><span class="top-num">8</span>i</div>
<div class="key"><span class="top-num">9</span>o</div>
<div class="key"><span class="top-num">0</span>p</div>
</div>
<!-- Row 2 -->
<div class="row" style="padding: 0 40px;">
<div class="key">a</div>
<div class="key">s</div>
<div class="key">d</div>
<div class="key">f</div>
<div class="key">g</div>
<div class="key">h</div>
<div class="key">j</div>
<div class="key">k</div>
<div class="key">l</div>
</div>
<!-- Row 3 -->
<div class="row" style="padding: 0 76px;">
<div class="key small">
<!-- shift -->
<svg viewBox="0 0 24 24" style="width:46px;height:46px;fill:none;stroke:#eaeaea;stroke-width:3;">
<path d="M12 4l7 8h-4v8H9v-8H5z"/>
</svg>
</div>
<div class="key">z</div>
<div class="key">x</div>
<div class="key">c</div>
<div class="key">v</div>
<div class="key">b</div>
<div class="key">n</div>
<div class="key">m</div>
<div class="key small">
<!-- backspace -->
<svg viewBox="0 0 24 24" style="width:56px;height:56px;fill:none;stroke:#eaeaea;stroke-width:3;">
<path d="M5 7l-4 5 4 5h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H5z"/>
<path d="M10 9l6 6M16 9l-6 6"/>
</svg>
</div>
</div>
</div>
<!-- Bottom row -->
<div class="kb-bottom-row">
<div class="row" style="margin-top: 10px;">
<div class="key medium">?123</div>
<div class="key small">,</div>
<div class="key small">
<!-- emoji -->
<svg viewBox="0 0 24 24" style="width:52px;height:52px;fill:none;stroke:#eaeaea;stroke-width:3;">
<circle cx="12" cy="12" r="9"/>
<circle cx="9" cy="10" r="1.2"/>
<circle cx="15" cy="10" r="1.2"/>
<path d="M8 14c2 2 6 2 8 0"/>
</svg>
</div>
<div class="key wide">space</div>
<div class="key small">.</div>
<div class="key small">
<!-- enter -->
<svg viewBox="0 0 24 24" style="width:52px;height:52px;fill:none;stroke:#eaeaea;stroke-width:3;">
<path d="M20 12H7v4l-4-4 4-4v4h13"/>
</svg>
</div>
</div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</body>
</html>