mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 02:12:43 +00:00
page counter rename
This commit is contained in:
@@ -411,7 +411,7 @@
|
|||||||
color : var(--HB_Color_Footnotes);
|
color : var(--HB_Color_Footnotes);
|
||||||
text-align : center;
|
text-align : center;
|
||||||
text-indent : 0;
|
text-indent : 0;
|
||||||
&.auto::after { content : counter(phb-page-numbers); }
|
&.auto::after { content : counter(page-numbers); }
|
||||||
}
|
}
|
||||||
.footnote {
|
.footnote {
|
||||||
position : absolute;
|
position : absolute;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ body { counter-reset : phb-page-numbers; }
|
|||||||
height : 279.4mm;
|
height : 279.4mm;
|
||||||
padding : 1.4cm 1.9cm 1.7cm;
|
padding : 1.4cm 1.9cm 1.7cm;
|
||||||
overflow : hidden;
|
overflow : hidden;
|
||||||
counter-increment : phb-page-numbers;
|
counter-increment : page-numbers;
|
||||||
background-color : var(--HB_Color_Background);
|
background-color : var(--HB_Color_Background);
|
||||||
text-rendering : optimizeLegibility;
|
text-rendering : optimizeLegibility;
|
||||||
contain : size;
|
contain : size;
|
||||||
@@ -460,3 +460,24 @@ body { counter-reset : phb-page-numbers; }
|
|||||||
.homebreweryIcon.red { background-color : red; }
|
.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%); }
|
.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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -383,7 +383,7 @@
|
|||||||
text-align : center;
|
text-align : center;
|
||||||
text-indent : 0;
|
text-indent : 0;
|
||||||
&.auto::after {
|
&.auto::after {
|
||||||
content : counter(phb-page-numbers);
|
content : counter(page-numbers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.footnote{
|
.footnote{
|
||||||
|
|||||||
Reference in New Issue
Block a user