From 182fe8cbbdf250158e6bfc25aa49886a600714ed Mon Sep 17 00:00:00 2001 From: Jason Gao Date: Tue, 5 Mar 2024 21:23:06 +0800 Subject: [PATCH 1/2] fix first-page footer --- magicbook/stylesheets/page.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magicbook/stylesheets/page.scss b/magicbook/stylesheets/page.scss index 7f77f7c..0964f51 100644 --- a/magicbook/stylesheets/page.scss +++ b/magicbook/stylesheets/page.scss @@ -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; } From b47d87ab91049d3b410305cedd94f61264893926 Mon Sep 17 00:00:00 2001 From: Jason Gao Date: Tue, 5 Mar 2024 21:23:12 +0800 Subject: [PATCH 2/2] update page number --- magicbook/stylesheets/page.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magicbook/stylesheets/page.scss b/magicbook/stylesheets/page.scss index 0964f51..78171e2 100644 --- a/magicbook/stylesheets/page.scss +++ b/magicbook/stylesheets/page.scss @@ -169,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)); }