diff --git a/apps/site/design.md b/apps/site/design.md index c8c1f0a..9cf957a 100644 --- a/apps/site/design.md +++ b/apps/site/design.md @@ -261,6 +261,14 @@ Codex CLI 의 내장 `image_gen`(gpt-image-2)을 ChatGPT 구독 인증으로 호 빌드 결과 12개 파일 합계 **276KB**. 실제로는 뷰포트에 맞는 크기 하나씩만, 그것도 `loading="lazy"` 로 받는다. +**절대배치 배경이 그리드 안에서 561px 로 잘렸다.** `.section` 은 subgrid 이고 +`.section > * { grid-column: main; }` 이 걸려 있는데, 절대배치 요소라도 그리드 영역이 +잡히면 **그 영역이 컨테이닝 블록**이 된다. 그래서 배경이 화면 가운데 561px 띠로만 깔렸고, +`overflow: visible` 이라 위아래 14% 여유분이 이웃 섹션 위로 넘쳐 조판 섹션의 종이가 +프리플라이트 하단에 밝은 띠로 나타났다. +`.bg-photo { grid-column: full }` + `.has-bg { overflow: clip }` 으로 고쳤다. +**`position: absolute` 는 그리드에서 배치를 면제해주지 않는다.** + **codex 0.147.0 메모** — `codex-image` 스킬의 `extract_imagegen.py` 는 rollout JSONL 의 `image_generation_call` base64 를 찾는데, 0.147.0 은 다시 **파일**로 저장한다 (`~/.codex/generated_images//exec-*.png`, 이벤트는 `custom_tool_call` + `image_generation_end`). diff --git a/apps/site/src/components/Install.astro b/apps/site/src/components/Install.astro index 49f943d..c92f8b2 100644 --- a/apps/site/src/components/Install.astro +++ b/apps/site/src/components/Install.astro @@ -9,7 +9,7 @@ const { c, ui } = Astro.props;
- +

{c.h2}

diff --git a/apps/site/src/components/Materials.astro b/apps/site/src/components/Materials.astro index 9294d40..f8861de 100644 --- a/apps/site/src/components/Materials.astro +++ b/apps/site/src/components/Materials.astro @@ -12,7 +12,7 @@ const { c } = Astro.props; 둘 다 설명이 아니라 지금 이 화면에서 돌고 있는 것이다. */}
- +

{c.h2}

{c.lead}

diff --git a/apps/site/src/components/Preflight.astro b/apps/site/src/components/Preflight.astro index f382cc7..0eeb24f 100644 --- a/apps/site/src/components/Preflight.astro +++ b/apps/site/src/components/Preflight.astro @@ -12,7 +12,7 @@ const { c } = Astro.props; 왼쪽 세로선이 로그라는 형식을 만든다. */}
- +

{c.h2}

{c.lead}

diff --git a/apps/site/src/components/Showcase.astro b/apps/site/src/components/Showcase.astro index a9612a6..9b79dff 100644 --- a/apps/site/src/components/Showcase.astro +++ b/apps/site/src/components/Showcase.astro @@ -12,7 +12,7 @@ const shots = [shotCoffee, shotSaas]; {/* 레이아웃 패밀리: Z축 캐스케이드. 두 판이 서로 겹치고 각도가 다르다 */}
- +

{c.h2}

{c.lead}

diff --git a/apps/site/src/styles/base.css b/apps/site/src/styles/base.css index 87b8326..8f83f76 100644 --- a/apps/site/src/styles/base.css +++ b/apps/site/src/styles/base.css @@ -426,7 +426,16 @@ a:hover { color: var(--accent); } .has-bg { position: relative; isolation: isolate; + /* 배경 레이어는 위아래로 14% 삐져나온다(패럴랙스 여유). + clip 하지 않으면 그 삐져나온 부분이 이웃 섹션 위에 얹힌다 — + 조판 섹션의 종이가 위 섹션 하단에 밝은 띠로 나타났다. */ + overflow: clip; } + +/* 섹션은 subgrid 이고 `.section > *` 이 전부 main 칼럼(561px)에 배치된다. + 절대배치라도 그리드 영역이 잡히면 그게 컨테이닝 블록이 되므로, + 배경이 화면 가운데 561px 띠로만 깔렸다. 전체 폭으로 되돌린다. */ +.bg-photo { grid-column: full; } .bg-grid::before, .bg-glow::before { content: "";