0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Change counter usage in cover page snippet to no longer increment the counter on the cover page

This commit is contained in:
Charlie Humphreys
2021-11-28 23:02:44 -06:00
parent 9e7239cfef
commit 85c221e9bd

View File

@@ -100,9 +100,8 @@ const subtitles = [
module.exports = ()=>{
return `<style>
.page#p1{ text-align:center; }
.page#p1{ text-align:center; counter-increment: none; }
.page#p1:after{ display:none; }
.page#p2 { counter-reset:phb-page-numbers; }
.page:nth-child(2n) .pageNumber { left: inherit !important; right: 2px !important; }
.page:nth-child(2n+1) .pageNumber { right: inherit !important; left: 2px !important; }
.page:nth-child(2n)::after { transform: scaleX(1); }