improve counter style
This commit is contained in:
LFS
BIN
Binary file not shown.
+1
-2
@@ -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]
|
||||
])
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user