Files
dukang_official/src/components/DeepLayout.css
T
2026-08-11 01:44:32 +08:00

459 lines
7.6 KiB
CSS

.deep-page {
padding-bottom: 4rem;
}
.deep-hero {
position: relative;
min-height: 18rem;
display: flex;
align-items: flex-end;
padding: 5rem 0 2.5rem;
overflow: hidden;
margin-bottom: 2.5rem;
background: linear-gradient(160deg, var(--paper-deep), var(--paper) 55%);
}
.deep-hero.has-image {
min-height: 22rem;
}
.deep-hero-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
transform: scale(1.04);
}
.deep-hero-mask {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(247, 242, 234, 0.25), rgba(247, 242, 234, 0.94) 72%);
}
.theme-tech .deep-hero-mask {
background: linear-gradient(180deg, rgba(18, 16, 20, 0.35), rgba(18, 16, 20, 0.92) 72%);
}
.deep-hero-copy {
position: relative;
z-index: 1;
}
.deep-back {
display: inline-flex;
margin-top: 0.75rem;
color: var(--brand);
min-height: 2.75rem;
align-items: center;
}
.theme-tech .deep-back {
color: var(--gold);
}
.deep-body {
display: grid;
gap: 2rem;
}
.deep-prose {
max-width: 46rem;
margin-inline: auto;
width: 100%;
}
.deep-h {
margin: 0 0 0.85rem;
color: var(--brand);
font-size: 1.45rem;
letter-spacing: 0.08em;
}
.theme-tech .deep-h {
color: var(--gold);
}
.deep-p {
margin: 0 0 1rem;
color: var(--ink-soft);
font-size: 1.02rem;
line-height: 1.9;
}
.deep-quote {
margin: 0 0 1.25rem;
padding: 1.4rem 1.35rem;
border-left: 2px solid var(--brand);
background: rgba(255, 255, 255, 0.55);
}
.theme-tech .deep-quote {
border-left-color: var(--gold);
background: var(--tech-card);
}
.deep-quote p {
margin: 0;
font-size: 1.2rem;
line-height: 1.85;
}
.deep-quote cite {
display: block;
margin-top: 0.85rem;
font-style: normal;
color: var(--ink-soft);
font-family: 'Noto Sans SC', sans-serif;
font-size: 0.9rem;
}
.deep-list {
margin: 0 0 1rem;
padding-left: 1.1rem;
color: var(--ink-soft);
line-height: 1.9;
}
.deep-media img,
.deep-media-solo img {
width: 100%;
max-height: 28rem;
object-fit: contain;
background: rgba(0, 0, 0, 0.03);
}
.deep-media-solo {
max-width: 40rem;
margin-inline: auto;
}
/* person */
.deep-person-grid {
grid-template-columns: 1.2fr 0.8fr;
align-items: start;
}
/* timeline */
.deep-timeline {
list-style: none;
margin: 0;
padding: 0 0 0 1.25rem;
border-left: 2px solid rgba(166, 28, 32, 0.18);
display: grid;
gap: 1.25rem;
}
.deep-timeline-item {
position: relative;
padding-left: 0.75rem;
}
.deep-timeline-dot {
position: absolute;
left: -1.55rem;
top: 0.45rem;
width: 0.65rem;
height: 0.65rem;
border-radius: 50%;
background: var(--brand);
box-shadow: 0 0 0 0.25rem rgba(166, 28, 32, 0.12);
}
.deep-timeline-item p {
margin: 0;
color: var(--ink-soft);
line-height: 1.75;
}
/* shrine */
.deep-shrine-stack {
max-width: 42rem;
margin-inline: auto;
text-align: center;
}
.deep-shrine-stack .deep-list {
text-align: left;
display: inline-block;
}
/* sites */
.deep-sites-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.25rem;
}
.deep-site-card {
padding: 1.35rem 1.2rem;
background: rgba(255, 255, 255, 0.55);
border-top: 2px solid var(--gold);
}
/* figures */
.deep-figure-rail {
display: grid;
gap: 1rem;
}
.deep-figure-card {
display: grid;
grid-template-columns: 3.5rem 1fr;
gap: 0.75rem 1.1rem;
padding: 1.25rem 0;
border-bottom: 1px solid rgba(166, 28, 32, 0.12);
}
.deep-figure-index {
color: var(--gold);
font-size: 1.5rem;
grid-row: span 2;
}
.deep-figure-card .deep-h {
grid-column: 2;
}
.deep-figure-card .deep-p {
grid-column: 2;
}
/* factory */
.deep-factory-panel {
padding: 2rem 1.75rem;
background: linear-gradient(135deg, rgba(166, 28, 32, 0.06), rgba(196, 163, 90, 0.08));
border: 1px solid rgba(166, 28, 32, 0.12);
}
.deep-factory-caps {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.85rem;
margin-top: 1.5rem;
}
.deep-factory-cap {
padding: 1rem 1.1rem;
background: rgba(255, 255, 255, 0.7);
min-height: 4.5rem;
display: flex;
align-items: center;
}
.deep-factory-cap p {
margin: 0;
color: var(--ink);
}
/* poem wall */
.deep-poem-wall {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.25rem;
align-items: stretch;
}
.deep-poem-slip {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
padding: 1.5rem 1.25rem;
background: rgba(255, 255, 255, 0.65);
border: 1px solid rgba(166, 28, 32, 0.1);
box-sizing: border-box;
}
.deep-poem-slip p {
margin: 0;
font-size: 1.15rem;
line-height: 1.85;
}
.deep-poem-slip cite {
margin-top: auto;
padding-top: 0.85rem;
display: block;
font-style: normal;
color: var(--ink-soft);
font-family: 'Noto Sans SC', sans-serif;
font-size: 0.88rem;
}
/* ink scroll */
.deep-ink-flow {
max-width: 40rem;
margin-inline: auto;
border-left: 1px solid var(--gold-soft);
padding-left: 1.75rem;
}
.deep-ink-flow .deep-quote {
writing-mode: vertical-rl;
min-height: 14rem;
max-width: 100%;
border-left: none;
border-top: 2px solid var(--brand);
margin-inline: auto;
}
/* manifesto */
.deep-manifesto-lead {
max-width: 48rem;
margin-inline: auto;
text-align: center;
}
.deep-loop-strip {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.85rem;
}
.deep-loop-node {
padding: 1.2rem 1rem;
background: rgba(255, 255, 255, 0.7);
border-bottom: 3px solid var(--brand);
min-height: 9rem;
}
.deep-loop-num {
display: block;
color: var(--gold);
margin-bottom: 0.55rem;
letter-spacing: 0.12em;
}
.deep-loop-node p {
margin: 0;
color: var(--ink-soft);
line-height: 1.65;
font-size: 0.95rem;
}
/* matrix */
.deep-matrix {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.15rem;
}
.deep-matrix-card {
padding: 1.4rem 1.25rem;
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(166, 28, 32, 0.1);
}
/* triad */
.deep-triad {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.deep-triad-col {
padding: 1.5rem 1.2rem;
text-align: center;
background: linear-gradient(180deg, rgba(166, 28, 32, 0.08), transparent);
border-top: 2px solid var(--brand);
}
/* steps */
.deep-steps {
display: grid;
gap: 0;
max-width: 40rem;
margin-inline: auto;
}
.deep-step {
display: grid;
grid-template-columns: 3.5rem 1fr;
gap: 1rem;
padding: 1.35rem 0;
border-bottom: 1px dashed rgba(166, 28, 32, 0.2);
align-items: start;
}
.deep-step-index {
color: var(--brand);
font-size: 1.6rem;
}
.deep-step p {
margin: 0;
font-size: 1.1rem;
color: var(--ink);
line-height: 1.7;
}
/* scenes */
.deep-scenes {
display: grid;
gap: 1.5rem;
}
.deep-scene {
padding: 1.5rem 1.35rem;
background: rgba(255, 255, 255, 0.5);
border-left: 3px solid var(--gold);
}
/* tour */
.deep-tour-flow {
max-width: 44rem;
margin-inline: auto;
}
.deep-tour-steps {
display: grid;
gap: 0.75rem;
}
.deep-tour-step {
display: grid;
grid-template-columns: 2.5rem 1fr;
gap: 0.85rem;
align-items: center;
padding: 0.95rem 1.1rem;
background: rgba(255, 255, 255, 0.65);
}
.deep-tour-step span {
width: 2.1rem;
height: 2.1rem;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--brand);
color: #fff;
font-size: 0.95rem;
}
.deep-tour-step p {
margin: 0;
color: var(--ink-soft);
}
@media (max-width: 48rem) {
.deep-person-grid,
.deep-sites-grid,
.deep-poem-wall,
.deep-loop-strip,
.deep-matrix,
.deep-triad,
.deep-factory-caps {
grid-template-columns: 1fr;
}
.deep-ink-flow .deep-quote {
writing-mode: horizontal-tb;
min-height: auto;
}
.deep-figure-card {
grid-template-columns: 2.5rem 1fr;
}
}