0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 14:02:40 +00:00

page counter rename

This commit is contained in:
Víctor Losada Hernández
2024-02-07 22:42:55 +01:00
parent 37c72d5125
commit 9e8570c19b
3 changed files with 24 additions and 3 deletions

View File

@@ -411,7 +411,7 @@
color : var(--HB_Color_Footnotes);
text-align : center;
text-indent : 0;
&.auto::after { content : counter(phb-page-numbers); }
&.auto::after { content : counter(page-numbers); }
}
.footnote {
position : absolute;

View File

@@ -47,7 +47,7 @@ body { counter-reset : phb-page-numbers; }
height : 279.4mm;
padding : 1.4cm 1.9cm 1.7cm;
overflow : hidden;
counter-increment : phb-page-numbers;
counter-increment : page-numbers;
background-color : var(--HB_Color_Background);
text-rendering : optimizeLegibility;
contain : size;
@@ -460,3 +460,24 @@ body { counter-reset : phb-page-numbers; }
.homebreweryIcon.red { background-color : red; }
.homebreweryIcon.gold { background-image : linear-gradient(to top left, brown 22.5%, gold 40%, white 60%, gold 67.5%, brown 82.5%); }
}
//*****************************
//* Page Number
//*****************************/
.page {
.pageNumber {
position : absolute;
right : 2px;
bottom : 22px;
width : 50px;
font-size : 0.9em;
text-align : center;
&.auto::after { content : counter(page-numbers); }
}
&:nth-child(even) {
.pageNumber { left : 2px; }
}
}

View File

@@ -383,7 +383,7 @@
text-align : center;
text-indent : 0;
&.auto::after {
content : counter(phb-page-numbers);
content : counter(page-numbers);
}
}
.footnote{