mirror of
https://github.com/nature-of-code/noc-book-2
synced 2024-11-16 07:47:48 +01:00
Merge pull request #889 from nature-of-code/dev/footer
Page number on footer
This commit is contained in:
commit
8cdea2e74c
1 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue