improve counter style

This commit is contained in:
2026-05-20 20:17:26 +02:00
parent efb18ae420
commit 7019c06994
2 changed files with 2 additions and 3 deletions
BIN
View File
Binary file not shown.
+1 -2
View File
@@ -143,9 +143,8 @@
let chapter-locs = query(heading.where(level: 1))
let is-chapter-page = chapter-locs.any(h => counter(page).at(h.location()).first() == pg)
if is-chapter-page {
set text(font: "Fira Sans", size: 10pt)
align(right, box(fill: blue-zut, inset: (x: 7pt, y: 4pt))[
#text(fill: white, weight: "bold")[#pg]
#text(font: "Fira Sans", size: 10pt, fill: white, weight: "bold")[#pg]
])
}
},