Merge pull request #889 from nature-of-code/dev/footer

Page number on footer
This commit is contained in:
Yifei Gao 2024-03-05 21:25:27 +08:00 committed by GitHub
commit 8cdea2e74c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,9 +50,10 @@
div.running-footer-first {
position: running(footer-first);
@include footer;
text-align: right;
justify-content: flex-end;
&::after {
font-size: 7pt;
font-weight: $font-bold;
content: $content;
}
@ -168,7 +169,7 @@ section[data-type='page']:has(#introduction) {
section[data-type='page']:has(#acknowledgments) {
page: frontmatter;
prince-page-group: start;
counter-reset: page 17 is-decimal 0;
counter-reset: page 21 is-decimal 0;
@include section-footer(counter(page, lower-roman));
}