AndroidCode / code /10185 /10185_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
12.1 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Reader Settings Overlay</title>
<meta name="viewport" content="width=1440, initial-scale=1.0">
<style>
body { margin:0; padding:0; background:transparent; font-family: Arial, Helvetica, sans-serif;}
#render-target{
position:relative;
overflow:hidden;
width:1440px;
height:3120px;
background:#0f0f0f;
color:#ffffff;
}
/* Background reading page */
.book-area{
position:absolute;
left:80px;
right:80px;
top:360px;
bottom:520px;
overflow:hidden;
}
.book-text{
font-family: "Georgia", "Times New Roman", serif;
font-size:64px;
line-height:1.5;
color:#f5f5f5;
opacity:.9;
}
/* Status bar and top app bar */
.status-bar{
position:absolute;
top:0; left:0; right:0;
height:120px;
background:#101010;
color:#dcdcdc;
display:flex;
align-items:center;
padding:0 36px;
font-size:44px;
letter-spacing:1px;
}
.status-icons{
margin-left:auto;
display:flex;
gap:28px;
}
.app-bar{
position:absolute;
top:120px; left:0; right:0;
height:170px;
background:#1a1a1a;
border-bottom:1px solid #2c2c2c;
display:flex;
align-items:center;
padding:0 36px;
}
.app-title{
font-size:56px;
color:#e8e8e8;
margin-left:24px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
max-width:900px;
}
.app-actions{
margin-left:auto;
display:flex;
align-items:center;
gap:36px;
}
.icon-btn svg{ display:block; }
/* Settings panel */
.panel{
position:absolute;
top:540px;
left:200px;
width:1040px;
background:#1c1a16;
border:1px solid #2a281f;
border-radius:28px;
padding:56px;
box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.panel h3{
margin:0 0 18px 0;
font-size:46px;
color:#e9e6cf;
}
.dropdown{
width:920px;
height:120px;
border-radius:16px;
border:1px solid #333129;
background:#201e18;
display:flex; align-items:center; justify-content:space-between;
padding:0 36px;
font-size:52px;
color:#efe9d0;
margin-bottom:40px;
}
.section{
display:flex;
gap:60px;
margin-bottom:36px;
}
.group{
width:48%;
}
.options-row{
display:flex; gap:28px; flex-wrap:wrap;
}
.square{
width:160px; height:130px;
background:#24221c;
border-radius:18px;
border:1px solid #343129;
position:relative;
display:flex; align-items:center; justify-content:center;
}
.square.selected{
outline:6px solid #f0e25c;
background:#262319;
}
/* tiny glyphs inside squares */
.align-left .bar{position:absolute; height:6px; background:#e9e6cf; left:26px; right:36px;}
.align-left .bar:nth-child(1){ top:30px; width:70%;}
.align-left .bar:nth-child(2){ top:56px; width:85%;}
.align-left .bar:nth-child(3){ top:82px; width:55%;}
.align-center .bar{position:absolute; height:6px; background:#e9e6cf; left:26px; right:26px;}
.align-center .bar:nth-child(1){ top:30px; left:40px; right:40px;}
.align-center .bar:nth-child(2){ top:56px; left:26px; right:26px;}
.align-center .bar:nth-child(3){ top:82px; left:60px; right:60px;}
.lines-compact .line{width:108px; height:10px; background:#e9e6cf; margin:8px 0;}
.lines-medium .line{width:108px; height:10px; background:#e9e6cf; margin:14px 0;}
.lines-wide .line{width:108px; height:10px; background:#e9e6cf; margin:22px 0;}
.scroll-hor .chev{
width:0;height:0;border-top:16px solid transparent;border-bottom:16px solid transparent;border-right:22px solid #e9e6cf;margin-right:10px;
}
.scroll-hor .chev.rev{ transform:rotate(180deg);}
.scroll-vert .arrow{
width:24px;height:24px;border:4px solid #e9e6cf;border-top:none;border-left:none;transform:rotate(45deg); margin-bottom:6px;
}
.font-size-row{
display:flex; align-items:center; gap:28px; margin:8px 0 40px 0;
}
.circle{
width:86px; height:86px; border-radius:50%;
background:#24221c; border:1px solid #343129; display:flex; align-items:center; justify-content:center;
}
.circle.selected{ outline:6px solid #f0e25c; }
.fsA{ font-size:72px; color:#efe9d0; }
/* Theme tiles */
.theme-row{ display:flex; gap:28px; margin:10px 0 34px 0;}
.theme{
width:220px; height:160px; border-radius:22px; border:1px solid #333129; display:flex; align-items:center; justify-content:center; font-size:72px;
}
.theme:nth-child(1){ background:#f6f6f6; color:#111;}
.theme:nth-child(2){ background:#ede7df; color:#2b2b2b;}
.theme:nth-child(3){ background:#5b5b5b; color:#fff;}
.theme:nth-child(4){ background:#111; color:#fff;}
.theme.selected{ outline:6px solid #f0e25c; }
/* Brightness */
.brightness{
display:grid;
grid-template-columns: 150px 1fr 120px;
align-items:center;
gap:22px;
margin-top:10px;
}
.toggle-small{
width:180px; height:62px; border-radius:34px; background:#2b2a22; border:1px solid #3a372f;
color:#c9c3a9; display:flex; align-items:center; justify-content:center; font-size:36px;
}
.slider{
height:14px; background:#343129; border-radius:10px; position:relative;
}
.slider::after{
content:""; position:absolute; top:-10px; left:62%; width:28px; height:34px; background:#f0e25c; border-radius:14px;
box-shadow:0 0 0 10px rgba(240,226,92,.12);
}
.sun{
width:54px; height:54px; border-radius:50%; background:#f0e25c; box-shadow:0 0 0 6px rgba(240,226,92,.3);
margin-left:auto;
}
/* Bottom trial banner */
.trial{
position:absolute;
left:0; right:0;
bottom:390px;
background:#1b1813;
border-top:1px solid #2a271f;
padding:46px 36px 60px;
text-align:center;
color:#e6e2ca;
}
.trial .line1{ font-size:46px; }
.trial .line2{ font-size:40px; opacity:.9; margin-top:8px;}
.cta{
margin:30px auto 0;
width:1200px; height:130px; background:#f1efe6; color:#1c1c1c; border-radius:26px;
display:flex; align-items:center; justify-content:center; font-size:56px; font-weight:600;
}
/* Bottom progress section */
.progress{
position:absolute;
left:0; right:0; bottom:140px;
padding:0 60px;
}
.progress .seek{
height:18px; background:#343129; border-radius:14px; position:relative; margin:0 100px 30px 0;
}
.progress .seek::before{
content:""; position:absolute; left:70px; right:380px; top:0; bottom:0; background:#e6dc74; border-radius:14px;
}
.progress .seek::after{
content:""; position:absolute; left:70px; top:-14px; width:42px; height:46px; background:#f0e25c; border-radius:18px;
}
.progress .meta{
display:flex; justify-content:space-between; align-items:center;
color:#ddd8c2; font-size:44px;
}
.search-fab{
position:absolute; right:60px; bottom:210px; width:120px; height:120px; border-radius:60px;
background:#29261f; border:1px solid #39362e; display:flex; align-items:center; justify-content:center;
}
/* helper */
.subhead{ font-size:44px; color:#e9e6cf; margin-bottom:14px;}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
9:11
<div class="status-icons">
<span></span>
<span>🔍</span>
<span></span>
<span></span>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn">
<svg width="72" height="72" viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke="#ffffff" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">Summary of Project Hail Mary:...</div>
<div class="app-actions">
<div class="icon-btn" title="Aa">
<span style="font-size:60px; color:#dcdcdc;">Aa</span>
</div>
<div class="icon-btn" title="More">
<svg width="50" height="50" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#dcdcdc"/>
<circle cx="12" cy="12" r="2" fill="#dcdcdc"/>
<circle cx="12" cy="19" r="2" fill="#dcdcdc"/>
</svg>
</div>
</div>
</div>
<!-- Reading background -->
<div class="book-area">
<div class="book-text">
SU<br>
HAIL<br>
The ...<br><br>
prep use study and it provides a safe space for you to freely express yourself without being judged by others. Using this journal in a group study is completely up...
</div>
</div>
<!-- Settings panel -->
<div class="panel">
<h3>Font</h3>
<div class="dropdown">
Contemporary
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" fill="none" stroke="#e9e6cf" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="section">
<div class="group">
<div class="subhead">Alignment</div>
<div class="options-row">
<div class="square selected align-left">
<div class="bar"></div><div class="bar"></div><div class="bar"></div>
</div>
<div class="square align-center">
<div class="bar"></div><div class="bar"></div><div class="bar"></div>
</div>
</div>
</div>
<div class="group">
<div class="subhead">Line Spacing</div>
<div class="options-row">
<div class="square selected lines-compact">
<div class="line"></div><div class="line"></div><div class="line"></div>
</div>
<div class="square lines-medium">
<div class="line"></div><div class="line"></div><div class="line"></div>
</div>
<div class="square lines-wide">
<div class="line"></div><div class="line"></div><div class="line"></div>
</div>
</div>
</div>
</div>
<div class="section">
<div class="group">
<div class="subhead">Scroll Direction</div>
<div class="options-row">
<div class="square selected" style="display:flex; align-items:center; justify-content:center;">
<div class="chev"></div><div class="chev rev"></div>
</div>
<div class="square scroll-vert" style="display:flex; flex-direction:column; align-items:center; justify-content:center;">
<div class="arrow"></div>
<div class="arrow" style="transform:rotate(225deg);"></div>
</div>
</div>
</div>
<div class="group">
<div class="subhead">Font Size</div>
<div class="font-size-row">
<div class="circle"><span style="font-size:56px; color:#efe9d0;"></span></div>
<div class="fsA">Aa</div>
<div class="circle selected"><span style="font-size:56px; color:#1e1c15; background:#f0e25c; border-radius:50%; width:80px; height:80px; display:flex; align-items:center; justify-content:center;">+</span></div>
</div>
</div>
</div>
<div class="subhead">Theme</div>
<div class="theme-row">
<div class="theme">Aa</div>
<div class="theme">Aa</div>
<div class="theme">Aa</div>
<div class="theme selected">Aa</div>
</div>
<div class="subhead">Brightness</div>
<div class="brightness">
<div class="toggle-small">AUTO</div>
<div class="slider"></div>
<div class="sun"></div>
</div>
</div>
<!-- Trial banner -->
<div class="trial">
<div class="line1">Enjoying your free preview?</div>
<div class="line2">Keep reading with a free trial.</div>
<div class="cta">Read Free for 30 Days</div>
</div>
<!-- Bottom progress -->
<div class="progress">
<div class="seek"></div>
<div class="meta">
<div>4 pages left in chapter</div>
<div>Page 5 of 44</div>
</div>
<div class="search-fab">
<svg width="58" height="58" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#e9e6cf" stroke-width="2.2" fill="none"/>
<line x1="15.5" y1="15.5" x2="21" y2="21" stroke="#e9e6cf" stroke-width="2.2" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</body>
</html>