diff --git a/assets/research/bg.jpg b/assets/research/bg.jpg new file mode 100644 index 0000000..f47a3a3 Binary files /dev/null and b/assets/research/bg.jpg differ diff --git a/assets/research/bg.png b/assets/research/bg.png deleted file mode 100644 index 61e8798..0000000 Binary files a/assets/research/bg.png and /dev/null differ diff --git a/research.typ b/research.typ index ede5de6..c679707 100644 --- a/research.typ +++ b/research.typ @@ -27,7 +27,8 @@ #table_of_contents() #domain_frame( - bg_img_path: "assets/research/bg.png", + bg_img_path: "assets/research/bg.jpg", + cover_color: rgb("0F0F0F").transparentize(40%), font_color: color.oklch(95%, 0.01, 250deg), chrome_color: color.oklch(80%, 0.01, 250deg), title: [본질을 향한 여정], @@ -219,7 +220,7 @@ 그래프의 특성만으로 Dijkstra 실행 없이 $RS$를 예측하는 방법을 찾는다. ] - #stack( + #steps( ( [$bold(RS)$ 재정의], [ diff --git a/template.typ b/template.typ index e12f5ac..2027de9 100644 --- a/template.typ +++ b/template.typ @@ -250,7 +250,7 @@ ) ] -#let stack(..layers) = context { +#let steps(..layers) = context { let cp = color-palette.get() let radius = 12pt let gutter = 12pt @@ -454,12 +454,20 @@ ] // Domain frame template function -#let domain_frame(title: "", bg_img_path: none, font_color: color-ink, chrome_color: color-ink-helper, content) = page( - background: place( - center + horizon, - if bg_img_path != none { - image(bg_img_path, width: 100.5%, height: 100.5%, fit: "cover") - }, +#let domain_frame( + title: "", + bg_img_path: none, + cover_color: white.transparentize(50%), + font_color: color-ink, + chrome_color: color-ink-helper, + content, +) = page( + background: stack( + image(bg_img_path, width: 100.5%, height: 100.5%, fit: "cover"), + move( + dy: -50%, + rect(width: 100.5%, height: 100.5%, fill: cover_color), + ), ), header: header_template(font_color: chrome_color), footer: footer_template(font_color: chrome_color),