feat: strengthen design skill and refresh all showcases
Some checks failed
ci / build (push) Has been cancelled

This commit is contained in:
Yun Chan 2026-09-12 18:16:33 +09:00
parent 69e5cc1efd
commit e09d4efb1c
257 changed files with 8196 additions and 2374 deletions

View file

@ -0,0 +1,15 @@
@font-face {
font-family: "MaruBuri";
src: url("../assets/fonts/MaruBuri-Regular.woff2") format("woff2");
font-style: normal;
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "MaruBuri";
src: url("../assets/fonts/MaruBuri-SemiBold.woff2") format("woff2");
font-style: normal;
font-weight: 600;
font-display: swap;
}

View file

@ -1,4 +1,4 @@
@import url("./tokens.css");
@import url("./tokens.css?v=20260912all");
/* ==========================================================================
무월 — quiet-commerce. 종이 원장의 문법.
@ -136,10 +136,14 @@ a {
.nav {
display: flex;
flex-wrap: wrap;
min-inline-size: 0;
gap: clamp(var(--space-3), 2vw, var(--space-5));
font-size: var(--step--1);
}
.nav a {
min-inline-size: 0;
overflow-wrap: anywhere;
text-decoration: none;
color: var(--ink-muted);
padding-block: 2px;
@ -164,6 +168,12 @@ a {
gap: var(--space-7) var(--space-6);
align-items: start;
}
.hero-grid > *,
.scale-grid > *,
.recipe-grid > *,
.plan-grid > * {
min-width: 0;
}
.hero-label {
font-size: var(--step--1);
@ -179,6 +189,9 @@ a {
.hero-text .lead {
margin-top: var(--space-4);
}
.hero-text .hero-disclaimer {
margin-top: var(--space-3);
}
.hero-actions {
margin-top: var(--space-5);
@ -194,7 +207,9 @@ a {
}
.btn {
display: inline-block;
display: inline-flex;
align-items: center;
min-height: 44px;
background: var(--accent);
color: var(--accent-ink);
font-weight: 500;
@ -235,7 +250,7 @@ a {
}
.bean-row {
display: grid;
grid-template-columns: 1fr auto;
grid-template-columns: minmax(0, 1fr) max-content;
align-items: baseline;
column-gap: var(--space-4);
padding-block: var(--space-3);
@ -263,10 +278,12 @@ a {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
white-space: nowrap;
display: inline-flex;
align-items: baseline;
gap: var(--space-2);
}
.bean-price span {
color: var(--ink-faint);
margin-right: var(--space-2);
font-size: var(--step--1);
}
@ -275,6 +292,9 @@ a {
.section {
padding-block: var(--space-8);
}
.section[id] {
scroll-margin-top: 6rem;
}
.band {
background: var(--surface-raised);
border-block: 1px solid var(--line);
@ -333,7 +353,7 @@ a {
}
.axis-labels text {
font-family: var(--font-body);
font-size: 13px;
font-size: 15px;
fill: var(--ink-faint);
}
.points circle {
@ -347,9 +367,14 @@ a {
}
.points text {
font-family: var(--font-body);
font-size: 13px;
font-size: 15px;
fill: var(--ink-muted);
}
.plot-note {
margin-bottom: var(--space-3);
color: var(--ink-muted);
font-size: var(--step--1);
}
/* ── 원장(밴드) ───────────────────────────────────────────────────────── */
@ -555,7 +580,7 @@ tbody th {
}
.nav {
width: 100%;
justify-content: space-between;
justify-content: flex-start;
}
.bean-row {
grid-template-columns: 1fr;
@ -565,7 +590,280 @@ tbody th {
grid-column: 1;
grid-row: auto;
}
.bean-price {
flex-wrap: wrap;
white-space: normal;
}
.plan-box {
padding: var(--space-4);
}
}
thead .num {
text-align: right;
}
/* ── 2026-08-30: 로스터의 좌표와 원장이 한 화면의 기준선이 되게 한다 ──
화면용 조판만 기존 인쇄/기본 규칙과 별도 cascade context로 둔다. */
@media screen {
:root {
--surface: #f5efe6;
--surface-raised: #ece3d6;
--surface-inverse: #202019;
--ink: #29251f;
--ink-muted: #60594f;
--ink-faint: #695d50;
--line: #d2c6b5;
--line-inverse: #575449;
--accent: #8a4524;
--accent-hover: #6d3219;
--accent-ink: #fff9ef;
--container: 76rem;
--pad-inline: clamp(1.25rem, 0.7rem + 3vw, 5.5rem);
--space-8: clamp(5rem, 3.5rem + 7vw, 10rem);
}
body {
background:
linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgb(80 56 31 / 5%) calc(50% - 0.5px), rgb(80 56 31 / 5%) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
var(--surface);
}
.site-head {
background: rgb(245 239 230 / 94%);
}
.head-inner {
min-height: 4.5rem;
align-items: center;
}
.wordmark {
font-size: clamp(1.35rem, 1rem + 0.8vw, 1.7rem);
letter-spacing: -0.04em;
}
.nav a {
min-height: 2.75rem;
display: inline-flex;
align-items: center;
}
.hero {
padding-block: clamp(3.5rem, 4vw, 6rem) var(--space-8);
}
.hero-grid {
grid-template-columns: minmax(0, 0.94fr) minmax(18rem, 0.82fr);
gap: clamp(2.5rem, 6vw, 7.5rem);
align-items: center;
}
.hero-text {
max-width: 39rem;
}
.hero-label {
display: inline-flex;
align-items: center;
gap: var(--space-2);
padding-bottom: var(--space-2);
border-bottom: 1px solid var(--accent);
color: var(--accent);
font-weight: 600;
}
.hero h1 {
max-width: 11ch;
font-size: clamp(2.8rem, 2rem + 3.4vw, 4.8rem);
letter-spacing: -0.045em;
}
.hero-text .lead {
max-width: 32rem;
font-size: clamp(1rem, 0.94rem + 0.25vw, 1.1rem);
}
.hero-actions {
padding-top: var(--space-4);
border-top: 1px solid var(--line);
}
.btn {
min-height: 3rem;
padding-inline: var(--space-4);
box-shadow: 5px 5px 0 rgb(138 69 36 / 14%);
max-inline-size: 100%;
justify-content: center;
text-align: center;
white-space: normal;
}
.hero-photo {
position: relative;
max-width: 31rem;
justify-self: end;
}
.hero-photo::before {
content: "이번 로스의 질감";
position: absolute;
z-index: 1;
top: -1.1rem;
left: -1.1rem;
padding: var(--space-2) var(--space-3);
background: var(--surface-inverse);
color: var(--ink-inverse);
font-size: var(--step--1);
}
.hero-photo img,
.recipe-photo img {
aspect-ratio: 4 / 5;
object-fit: cover;
box-shadow: 1.25rem 1.25rem 0 var(--surface-raised);
}
.hero-beans {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 var(--space-6);
margin-top: var(--space-3);
}
.bean-row {
min-width: 0;
padding-block: var(--space-4);
}
.bean-row dt {
font-size: var(--step-1);
}
.section {
position: relative;
}
.scale-grid,
.recipe-grid,
.plan-grid {
gap: clamp(2.5rem, 7vw, 8rem);
}
.scale-text,
.recipe-text {
max-width: 36rem;
}
.scale-plot {
padding: clamp(1rem, 3vw, 2.5rem);
background: var(--surface-raised);
border: 1px solid var(--line);
}
.band {
background: #e7dccd;
border-block: 1px solid var(--line);
}
.ledger-head {
display: grid;
grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
max-width: none;
gap: var(--space-6);
align-items: end;
}
.ledger-head p {
margin: 0;
}
.table-wrap {
background: rgb(255 250 242 / 72%);
border: 1px solid var(--line);
}
.plan {
background:
radial-gradient(circle at 84% 18%, rgb(160 81 40 / 28%), transparent 28rem),
var(--surface-inverse);
}
.plan-box {
max-width: 28rem;
min-inline-size: 0;
justify-self: end;
background: rgb(255 249 239 / 4%);
}
.plan-box .btn {
inline-size: 100%;
}
.site-foot {
background: #e9dfd2;
}
@media (min-width: 120rem) {
.hero-grid {
grid-template-columns: minmax(34rem, 0.95fr) minmax(26rem, 0.75fr);
max-width: 84rem;
}
.hero-photo {
max-width: 34rem;
}
.scale-grid,
.recipe-grid,
.plan-grid {
max-width: 72rem;
}
}
@media (max-width: 900px) {
.hero-grid {
grid-template-columns: 1fr;
}
.hero-photo {
justify-self: start;
max-width: 100%;
padding: 0 1.25rem 1.25rem 0;
}
.hero-beans,
.ledger-head {
grid-template-columns: 1fr;
gap: 0;
}
.ledger-head p {
margin-top: var(--space-3);
}
.plan-box {
justify-self: stretch;
max-width: none;
}
}
@media (max-width: 560px) {
.hero {
padding-top: var(--space-5);
}
.hero h1 {
font-size: clamp(2.55rem, 10vw, 3.4rem);
}
.hero-photo::before {
top: -0.75rem;
left: 0;
}
.hero-photo img,
.recipe-photo img {
box-shadow: 0.75rem 0.75rem 0 var(--surface-raised);
}
}
}

View file

@ -15,7 +15,7 @@
--step-0: 1rem; /* 16px — 본문 */
--step-1: 1.25rem; /* 20px — 소제목 */
--step-2: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem); /* 28px — 섹션 표제 */
--step-3: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); /* 64px — 디스플레이 */
--step-3: clamp(1.5rem, 0.6rem + 3.4vw, 3.25rem); /* 52px — 320px에서도 두 줄 */
--leading-tight: 1.28;
--leading-normal: 1.75;
@ -32,7 +32,7 @@
--surface-inverse: #181b18;
--ink: #181b18;
--ink-muted: #585c56;
--ink-faint: #8c908a;
--ink-faint: #696e68;
--ink-inverse: #f4f4f0;
--ink-inverse-muted: #a8aca4;