styling fixes

- include bib in contents
- fix page breaks between chapters
- fix colors in table of contents
This commit is contained in:
2026-06-07 17:19:49 +02:00
parent a525fe60dd
commit 1bd2d08677
5 changed files with 16 additions and 40 deletions
+9 -3
View File
@@ -6,7 +6,9 @@
#set heading(numbering: "1.1")
#set text(font: "Fira Sans")
#set outline(title: text(size: 24pt, fill: color-dark-blue, weight: "regular")[Spis treści])
#set outline(title: block(text(size: 24pt, fill: color-dark-blue, weight: "regular")[Spis treści], inset: (
"bottom": 1.5em,
)))
#show outline.entry: it => {
let is-lvl-1 = it.level == 1
@@ -27,9 +29,13 @@
text(size: 12pt, fill: black, title)
}
let page-style = text(size: 10pt, fill: color-page-num, weight: "medium", page-num)
let page-style = if is-lvl-1 {
text(size: 10pt, fill: color-page-num, weight: "medium", page-num)
} else {
text(size: 10pt, fill: black, weight: "medium", page-num)
}
v(if is-lvl-1 { 14pt } else { 6pt }, weak: true)
v(if is-lvl-1 { 18pt } else { 10pt }, weak: true)
link(it.element.location())[
#grid(