This commit is contained in:
大哥大哥的大哥哥
2026-09-09 14:47:29 +08:00
parent 4d9da40abd
commit 65755c9e96
832 changed files with 412085 additions and 0 deletions
@@ -0,0 +1,192 @@
page {
width: 100%;
min-height: 100%;
background: #1c130f;
color: #2f241d;
}
button::after { border: 0; }
.audio-page {
box-sizing: border-box;
width: 100vw;
height: 100vh;
min-height: 320px;
padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
display: flex;
flex-direction: column;
gap: 8px;
background: radial-gradient(circle at 48% 45%, #443125 0, #211611 70%);
}
.audio-topbar {
height: 52px;
flex: 0 0 52px;
display: grid;
grid-template-columns: 160px minmax(0, 1fr);
gap: 10px;
align-items: center;
padding-right: max(92px, env(safe-area-inset-right));
color: #f5e6b7;
}
.back-top {
box-sizing: border-box;
width: 100%;
max-width: 100%;
min-height: 48px;
border: 1px solid #9b7a51;
border-radius: 10px;
background: #38251b;
color: #f7e8bd;
font-size: 20px;
line-height: 48px;
text-align: center;
padding: 0 12px;
}
.page-heading { display: flex; align-items: baseline; gap: 12px; }
.page-kicker { font-size: 20px; font-weight: 700; }
.page-count { color: #d9bb78; font-size: 18px; }
.audio-spread {
min-height: 0;
flex: 1;
display: grid;
grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
border: 2px solid #b99762;
background: #efe2bd;
box-shadow: 0 10px 34px rgba(0, 0, 0, .4);
}
.story-card {
box-sizing: border-box;
min-width: 0;
min-height: 0;
padding: 18px;
background: repeating-linear-gradient(0deg, rgba(245, 225, 177, .035) 0, rgba(245, 225, 177, .035) 1px, transparent 1px, transparent 5px), #251813;
border-right: 4px solid #8d271f;
}
.story-card-border {
box-sizing: border-box;
width: 100%;
height: 100%;
min-height: 0;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px solid #b99762;
outline: 1px solid rgba(185, 151, 98, .55);
outline-offset: -8px;
color: #f4e3b8;
text-align: center;
padding: 28px;
}
.story-card-kicker { color: #d1b274; font-size: 17px; letter-spacing: 3px; }
.story-card-title { margin-top: 10px; font-size: 32px; font-weight: 800; letter-spacing: 5px; }
.story-card-rule { width: 58%; height: 2px; margin: 16px 0; background: #8f3027; }
.story-card-chapter { color: #f8eac8; font-size: 28px; font-weight: 800; }
.story-card-page { margin-top: 6px; color: #d8bd83; font-size: 22px; }
.story-card-note { max-width: 430px; margin-top: 20px; color: #d8c8a5; font-size: 18px; line-height: 1.55; }
.story-card-stamp { position: absolute; right: 22px; bottom: 18px; padding: 6px 10px; border: 2px solid #9d3a2e; color: #d98673; font-size: 16px; letter-spacing: 2px; }
.audio-copy {
min-width: 0;
min-height: 0;
padding: 18px 20px 14px;
display: flex;
flex-direction: column;
background: repeating-linear-gradient(0deg, rgba(119, 87, 46, .04) 0, rgba(119, 87, 46, .04) 1px, transparent 1px, transparent 4px), #f6edcf;
}
.audio-title { color: #8f271f; font-size: 28px; font-weight: 800; line-height: 1.25; }
.audio-caption { margin-top: 10px; font-size: 20px; font-weight: 600; line-height: 1.48; }
.audio-seek-row {
min-width: 0;
min-height: 48px;
margin-top: auto;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 6px;
align-items: center;
}
.audio-slider { min-width: 0; width: 100%; margin: 0; }
.audio-time { min-width: 82px; color: #6d5b48; font-size: 17px; text-align: right; }
.audio-controls {
min-width: 0;
margin-top: 6px;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.audio-button,
.retry-button,
.back-bottom {
box-sizing: border-box;
min-height: 48px;
border: 2px solid #7e6648;
border-radius: 10px;
background: #eadbb5;
color: #37291f;
font-size: 18px;
font-weight: 700;
line-height: 46px;
min-width: 0;
margin: 0;
padding: 0 6px;
}
.audio-button { width: 100%; max-width: 100%; }
.audio-button.primary { border-color: #8f271f; background: #9e3027; color: #fff2cf; }
.audio-button[disabled], .retry-button[disabled] { opacity: .72; }
.audio-rate-row {
min-width: 0;
min-height: 48px;
margin-top: 6px;
display: grid;
grid-template-columns: auto repeat(3, minmax(48px, 1fr));
gap: 6px;
align-items: center;
}
.audio-rate-label { color: #6d5b48; font-size: 18px; font-weight: 700; }
.audio-rate-button {
box-sizing: border-box;
min-width: 48px;
min-height: 48px;
margin: 0;
padding: 0 4px;
border: 2px solid #9d896a;
border-radius: 9px;
background: #f3e7c8;
color: #4d3b2d;
font-size: 17px;
font-weight: 700;
line-height: 46px;
}
.audio-rate-button { width: 100%; max-width: 100%; }
.audio-rate-button.active { border-color: #8f271f; background: #8f271f; color: #fff2cf; }
.audio-rate-button[disabled] { opacity: .72; }
.audio-error { margin-top: 8px; color: #8f271f; font-size: 17px; line-height: 1.35; }
.retry-button { width: 100%; min-height: 48px; margin-top: 8px; line-height: 46px; font-size: 18px; }
.back-bottom { margin-top: 8px; width: 100%; }
@media (max-height: 430px) {
.audio-page { gap: 4px; padding-top: 4px; padding-bottom: 4px; }
.audio-topbar { height: 48px; flex-basis: 48px; }
.story-card { padding: 10px; }
.story-card-border { padding: 16px; }
.story-card-title { font-size: 26px; }
.story-card-note { margin-top: 10px; font-size: 16px; }
.audio-copy { padding: 8px 12px; overflow-y: auto; }
.audio-title { font-size: 23px; }
.audio-caption { margin-top: 4px; font-size: 17px; line-height: 1.3; }
.audio-seek-row { min-height: 48px; }
.audio-controls, .audio-rate-row { margin-top: 3px; gap: 5px; }
.audio-button, .retry-button, .back-bottom { min-height: 48px; line-height: 46px; font-size: 17px; }
.audio-rate-button { min-height: 48px; line-height: 46px; font-size: 16px; }
.audio-rate-label { font-size: 16px; }
.back-bottom { display: none; }
}