684 lines
12 KiB
Plaintext
684 lines
12 KiB
Plaintext
@import "/tang-detective/shared.wxss";
|
|
|
|
.tang-host-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 44px; padding-right: 92px; }
|
|
.tang-host-button, .tang-sync-button { margin: 0; min-height: 44px; padding: 0 12px; line-height: 44px; font-size: 16px; border-radius: 8px; color: #f3e5bd; background: #30251c; }
|
|
.tang-sync-button { font-size: 14px; }
|
|
.home-shell {
|
|
--home-top-inset: calc(8px + constant(safe-area-inset-top));
|
|
--home-right-inset: calc(10px + constant(safe-area-inset-right));
|
|
--home-bottom-inset: calc(7px + constant(safe-area-inset-bottom));
|
|
--home-left-inset: calc(10px + constant(safe-area-inset-left));
|
|
--home-top-inset: calc(8px + env(safe-area-inset-top));
|
|
--home-right-inset: calc(10px + env(safe-area-inset-right));
|
|
--home-bottom-inset: calc(7px + env(safe-area-inset-bottom));
|
|
--home-left-inset: calc(10px + env(safe-area-inset-left));
|
|
display: flex;
|
|
height: 100vh;
|
|
min-height: 0;
|
|
padding: var(--home-top-inset) var(--home-right-inset)
|
|
var(--home-bottom-inset) var(--home-left-inset);
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-comic-book {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
color: #33251b;
|
|
background: #1d130f;
|
|
border: 3px solid #9e845e;
|
|
border-radius: 10px;
|
|
box-shadow: 0 15px 34px rgba(0, 0, 0, 0.36);
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.home-comic-book.is-open {
|
|
grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
|
|
}
|
|
|
|
.home-cover-art {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #241811;
|
|
}
|
|
|
|
.home-comic-book.is-open .home-cover-art {
|
|
border-right: 7px solid #6f2b23;
|
|
box-shadow: 10px 0 24px rgba(32, 19, 12, 0.34);
|
|
}
|
|
|
|
.home-cover-image,
|
|
.home-cover-shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.home-cover-shade {
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(90deg, rgba(29, 18, 12, 0.68), transparent 24%, transparent 72%, rgba(29, 18, 12, 0.2)),
|
|
linear-gradient(0deg, rgba(31, 18, 12, 0.82), transparent 53%);
|
|
box-shadow: inset 0 0 70px rgba(30, 16, 9, 0.3);
|
|
}
|
|
|
|
.home-cover-spine {
|
|
position: absolute;
|
|
z-index: 3;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
width: 46px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #f0d8a7;
|
|
background: rgba(74, 35, 26, 0.94);
|
|
border-right: 2px solid #c59a58;
|
|
font-family: "Songti SC", "STSong", serif;
|
|
font-size: 15px;
|
|
font-weight: 850;
|
|
letter-spacing: 3px;
|
|
writing-mode: vertical-rl;
|
|
}
|
|
|
|
.home-cover-title-block {
|
|
position: absolute;
|
|
z-index: 3;
|
|
left: 72px;
|
|
bottom: 54px;
|
|
display: flex;
|
|
max-width: 64%;
|
|
padding: 13px 19px 15px;
|
|
color: #f7e7c4;
|
|
background: rgba(43, 27, 18, 0.86);
|
|
border-left: 7px solid #a53a30;
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-cover-series {
|
|
color: #e4c277;
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
letter-spacing: 4px;
|
|
}
|
|
|
|
.home-cover-title {
|
|
margin-top: 3px;
|
|
font-family: "Songti SC", "STSong", serif;
|
|
font-size: 43px;
|
|
font-weight: 900;
|
|
letter-spacing: 8px;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.home-cover-subtitle {
|
|
margin-top: 6px;
|
|
color: #f1d18c;
|
|
font-family: "Songti SC", "STSong", serif;
|
|
font-size: 25px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.home-cover-touch {
|
|
position: absolute;
|
|
z-index: 4;
|
|
right: 24px;
|
|
bottom: 22px;
|
|
display: flex;
|
|
min-height: 50px;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 8px 15px;
|
|
color: #fff0ca;
|
|
background: rgba(54, 34, 23, 0.9);
|
|
border: 2px solid #d7b36d;
|
|
border-radius: 999px;
|
|
font-size: 18px;
|
|
font-weight: 850;
|
|
box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.home-cover-touch-mark {
|
|
display: flex;
|
|
width: 31px;
|
|
height: 31px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #6c271f;
|
|
background: #f0d28c;
|
|
border-radius: 50%;
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.home-flyleaf {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: 16px 20px;
|
|
background:
|
|
repeating-linear-gradient(0deg, rgba(92, 61, 35, 0.03) 0, rgba(92, 61, 35, 0.03) 1px, transparent 1px, transparent 5px),
|
|
#f2e4bf;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-flyleaf-title {
|
|
display: block;
|
|
margin-top: 9px;
|
|
color: #8d2d26;
|
|
font-family: "Songti SC", "STSong", serif;
|
|
font-size: 29px;
|
|
font-weight: 900;
|
|
line-height: 1.18;
|
|
}
|
|
|
|
.home-flyleaf .home-quote {
|
|
position: static;
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: #4e3a2b;
|
|
font-size: 18px;
|
|
font-weight: 750;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.home-flyleaf .home-primary {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.home-flyleaf .home-tabs {
|
|
width: 100%;
|
|
min-width: 0;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.home-flyleaf .home-tab {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding: 5px 7px;
|
|
font-size: 16px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.home-comic-book button::after {
|
|
border: 0;
|
|
}
|
|
|
|
.home-book {
|
|
display: grid;
|
|
width: 100%;
|
|
min-height: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
grid-template-columns: minmax(0, 3fr) minmax(285px, 2fr);
|
|
border: 2px solid #9e845e;
|
|
border-radius: 9px;
|
|
}
|
|
|
|
.home-art {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background:
|
|
repeating-linear-gradient(0deg, rgba(65, 42, 25, 0.04) 0, rgba(65, 42, 25, 0.04) 1px, transparent 1px, transparent 5px),
|
|
#241811;
|
|
border-right: 5px solid var(--cinnabar);
|
|
}
|
|
|
|
.home-art-image,
|
|
.home-art-shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.home-art-shade {
|
|
pointer-events: none;
|
|
background: linear-gradient(0deg, rgba(35, 23, 16, 0.82), transparent 48%);
|
|
}
|
|
|
|
.home-memory-ribbon {
|
|
position: absolute;
|
|
z-index: 3;
|
|
top: 12px;
|
|
left: 12px;
|
|
display: flex;
|
|
min-height: 48px;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 6px 10px 6px 7px;
|
|
color: #4a3225;
|
|
background: rgba(241, 221, 178, 0.96);
|
|
border: 2px solid #9e754a;
|
|
border-radius: 5px;
|
|
box-shadow: 0 5px 14px rgba(25, 15, 8, 0.28);
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 17px;
|
|
font-weight: 850;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.home-memory-ribbon-mark {
|
|
display: flex;
|
|
width: 28px;
|
|
height: 35px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #ffe9bb;
|
|
background: #963128;
|
|
clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.home-quote {
|
|
position: absolute;
|
|
z-index: 2;
|
|
right: 22px;
|
|
bottom: 18px;
|
|
left: 22px;
|
|
color: #f5e5c0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.home-copy {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
justify-content: center;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding: 18px 24px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.home-brand .seal {
|
|
width: 48px;
|
|
height: 48px;
|
|
flex: none;
|
|
font-size: 27px;
|
|
}
|
|
|
|
.home-brand-copy {
|
|
display: flex;
|
|
color: #7f2a23;
|
|
flex-direction: column;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 850;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.home-brand-kind {
|
|
color: #765f45;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.home-title {
|
|
display: block;
|
|
margin-top: 10px;
|
|
font-size: 45px;
|
|
font-weight: 900;
|
|
letter-spacing: 7px;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.home-subtitle {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: #8d2d26;
|
|
font-size: 30px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.home-season {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #6f5942;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.home-primary {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 64px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 16px;
|
|
padding: 8px 14px;
|
|
color: #fff0cb;
|
|
background: var(--cinnabar);
|
|
border: 3px solid #74231d;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 18px rgba(111, 32, 27, 0.24);
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 21px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.home-tabs {
|
|
display: grid;
|
|
gap: 9px;
|
|
margin-top: 10px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.home-tab {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 48px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 10px;
|
|
color: #4b3829;
|
|
background: #ead9b2;
|
|
border: 2px solid #997b54;
|
|
border-radius: 7px;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.home-memory-count {
|
|
display: flex;
|
|
min-width: 30px;
|
|
height: 26px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 6px;
|
|
color: #f9edce;
|
|
background: #704b35;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.home-tagline {
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: #594431;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
line-height: 1.48;
|
|
}
|
|
|
|
.home-disclaimer {
|
|
display: block;
|
|
flex: none;
|
|
color: #d7c49b;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
|
|
font-size: 17px;
|
|
line-height: 1.35;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-height: 620px) {
|
|
.home-copy {
|
|
justify-content: flex-start;
|
|
overflow-y: hidden;
|
|
padding: 12px 18px;
|
|
}
|
|
|
|
.home-brand .seal {
|
|
width: 42px;
|
|
height: 42px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.home-brand-copy {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.home-brand-kind {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.home-title {
|
|
margin-top: 7px;
|
|
font-size: 39px;
|
|
}
|
|
|
|
.home-subtitle {
|
|
font-size: 27px;
|
|
}
|
|
|
|
.home-season {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.home-primary {
|
|
min-height: 60px;
|
|
margin-top: 11px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.home-tabs {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.home-tab {
|
|
min-height: 48px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.home-tagline {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 16px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.home-disclaimer {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 730px) {
|
|
.home-brand-kind {
|
|
display: none;
|
|
}
|
|
|
|
.home-brand {
|
|
max-width: calc(100% - 104px);
|
|
}
|
|
|
|
.home-title {
|
|
font-size: 39px;
|
|
letter-spacing: 5px;
|
|
}
|
|
|
|
.home-subtitle {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.home-tagline {
|
|
display: block;
|
|
margin-top: 6px;
|
|
font-size: 16px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.home-memory-ribbon {
|
|
top: 9px;
|
|
left: 9px;
|
|
min-height: 48px;
|
|
padding: 5px 8px 5px 6px;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 430px) {
|
|
.home-comic-book.is-open {
|
|
grid-template-columns: minmax(0, 1.3fr) minmax(292px, 1fr);
|
|
}
|
|
|
|
.home-cover-title-block {
|
|
left: 62px;
|
|
bottom: 34px;
|
|
padding: 9px 13px 10px;
|
|
}
|
|
|
|
.home-cover-series {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.home-cover-title {
|
|
font-size: 34px;
|
|
letter-spacing: 6px;
|
|
}
|
|
|
|
.home-cover-subtitle {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.home-cover-touch {
|
|
right: 16px;
|
|
bottom: 13px;
|
|
min-height: 48px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.home-flyleaf {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.home-flyleaf .home-brand .seal {
|
|
width: 34px;
|
|
height: 34px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.home-flyleaf .home-brand-copy {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.home-flyleaf-title {
|
|
margin-top: 5px;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.home-flyleaf .home-season {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.home-flyleaf .home-quote {
|
|
margin-top: 5px;
|
|
font-size: 15px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.home-flyleaf .home-primary {
|
|
min-height: 50px;
|
|
margin-top: 6px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.home-flyleaf .home-tabs {
|
|
gap: 5px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.home-flyleaf .home-tab {
|
|
min-height: 48px;
|
|
padding: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.home-flyleaf .home-tagline {
|
|
margin-top: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.home-copy {
|
|
justify-content: flex-start;
|
|
overflow-y: hidden;
|
|
padding: 8px 14px;
|
|
}
|
|
|
|
.home-brand .seal {
|
|
width: 36px;
|
|
height: 36px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.home-brand-copy {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.home-brand-kind {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.home-title {
|
|
margin-top: 4px;
|
|
font-size: 34px;
|
|
letter-spacing: 4px;
|
|
}
|
|
|
|
.home-subtitle {
|
|
margin-top: 2px;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.home-season {
|
|
margin-top: 3px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.home-primary {
|
|
min-height: 60px;
|
|
margin-top: 7px;
|
|
padding: 6px 10px;
|
|
font-size: 19px;
|
|
}
|
|
|
|
.home-tabs {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.home-tagline {
|
|
display: block;
|
|
margin-top: 4px;
|
|
font-size: 15px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.home-disclaimer {
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
}
|
|
}
|