feat(site): add interactive domain instruments to editorial showcases and upgrade showcase hub

This commit is contained in:
Yun Chan 2026-10-31 23:03:57 +09:00
parent 008e29752e
commit 9b6b0b55fa
13 changed files with 1108 additions and 140 deletions

View file

@ -450,6 +450,160 @@ h3 + * {
max-width: var(--measure);
}
/* ── 주간 화첩 기록 (인터랙티브 보타니컬 시트) ───────── */
.g[data-week-pick] {
cursor: pointer;
}
.g img,
.ph img,
.two-photo img {
transition:
transform 650ms var(--ease-out),
filter 450ms var(--ease-out);
}
.g[data-week-pick]:hover img,
.ph:hover img,
.two-photo:hover img {
transform: scale(1.018);
}
.g.is-selected figcaption {
color: var(--accent);
}
.botanical-sheet {
margin-top: var(--space-6);
padding: var(--space-5);
background: var(--paper-deep);
border: 1px solid var(--line);
}
.botanical-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: var(--space-3) var(--space-5);
padding-bottom: var(--space-4);
border-bottom: 1px solid var(--line);
}
.botanical-tabs {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
}
.week-tab {
min-height: 2.75rem;
padding: 0 var(--space-4);
background: var(--paper);
color: var(--ink-muted);
border: 1px solid var(--line);
font-family: var(--font-body);
font-size: var(--step-label);
font-weight: var(--weight-bold);
letter-spacing: 0.04em;
white-space: nowrap;
cursor: pointer;
transition:
background 220ms var(--ease-out),
color 220ms var(--ease-out),
border-color 220ms var(--ease-out);
}
.week-tab:hover {
border-color: var(--ink);
color: var(--ink);
}
.week-tab[aria-selected="true"] {
background: var(--ink);
color: var(--paper);
border-color: var(--ink);
}
.botanical-body {
margin-top: var(--space-5);
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
gap: var(--space-6);
align-items: start;
}
.botanical-summary > * + * {
margin-top: var(--space-3);
}
.botanical-title {
font-family: var(--font-display);
font-size: clamp(1.3rem, 1.08rem + 0.8vw, 1.65rem);
color: var(--ink);
}
.stem-bar {
display: flex;
height: 0.65rem;
width: 100%;
overflow: hidden;
border: 1px solid var(--line);
background: var(--paper);
margin-top: var(--space-4);
}
.stem-seg {
height: 100%;
transition: width 420ms var(--ease-out);
}
.stem-seg-1 {
background: var(--accent);
}
.stem-seg-2 {
background: var(--stem-1);
}
.stem-seg-3 {
background: var(--stem-2);
}
.stem-seg-4 {
background: var(--stem-3);
}
.stem-legend {
list-style: none;
padding: 0;
margin-top: var(--space-3);
display: flex;
flex-wrap: wrap;
gap: var(--space-2) var(--space-4);
font-size: var(--step-label);
color: var(--ink-muted);
}
.stem-legend li {
display: inline-flex;
align-items: center;
gap: var(--space-2);
white-space: nowrap;
}
.stem-dot {
width: 0.55rem;
height: 0.55rem;
display: inline-block;
border: 1px solid var(--line);
}
.botanical-specs {
margin: 0;
display: grid;
gap: var(--space-3);
}
.botanical-specs > div {
display: grid;
grid-template-columns: 7.5rem 1fr;
gap: var(--space-3);
padding-top: var(--space-3);
border-top: 1px solid var(--line);
}
.botanical-specs > div:first-child {
padding-top: 0;
border-top: 0;
}
.botanical-specs dt {
font-size: var(--step-label);
font-weight: var(--weight-bold);
letter-spacing: var(--track-label);
color: var(--ink-muted);
}
.botanical-specs dd {
margin: 0;
}
/* ── 문의 ─────────────────────────────────────────── */
.contact-inner {
max-width: 46rem;
@ -550,6 +704,10 @@ h3 + * {
.gallery {
grid-template-columns: 1fr;
}
.botanical-body {
grid-template-columns: 1fr;
gap: var(--space-5);
}
.g-1,
.g-2,
.g-3 {
@ -560,10 +718,14 @@ h3 + * {
@media (max-width: 560px) {
.facts > div,
.botanical-specs > div,
.contact-list li {
grid-template-columns: 1fr;
gap: var(--space-1);
}
.botanical-sheet {
padding: var(--space-4);
}
/* 워드마크와 내비를 한 줄에 나란히 두면 320px 에서 둘 다 접힌다.
실측: 내비 링크가 두 줄(top 46/77)에 걸리고 워드마크는 3줄이 됐다.
좁은 화면에서는 위아래로 쌓는다 — 접히는 것보다 쌓는 것이 낫다. */

View file

@ -18,6 +18,10 @@
--ink-faint: #746c60;
--accent: #7c4a3f; /* 마른 장미. 꽃의 초록과 충돌하지 않는다 */
--line: #ddd7ca;
--stem-1: #5a6650;
--stem-2: #8c7a6b;
--stem-3: #b8ad9e;
--stem-4: #d5cec2;
/* ── 타입 ────────────────────────────────────────────
크기를 4종으로 묶는다. Aesop 이 3종(31/14/12), Cereal 이 2종(12/11)이었다.