running pages
This commit is contained in:
parent
015689c0ed
commit
56d11343f8
4 changed files with 51 additions and 6 deletions
|
|
@ -8,6 +8,7 @@
|
|||
marks: crop;
|
||||
--symbol-top: 1px;
|
||||
--running-top: 8mm;
|
||||
--running-bottom: 10mm;
|
||||
}
|
||||
|
||||
@page:left {
|
||||
|
|
@ -66,6 +67,17 @@
|
|||
|
||||
}
|
||||
|
||||
@bottom-left {
|
||||
content: counter(page);
|
||||
vertical-align: top;
|
||||
padding-top: var(--running-bottom);
|
||||
white-space: nowrap;
|
||||
font-size: var(--font-size);
|
||||
color: var(--sign-color);
|
||||
z-index: 100;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -112,10 +124,21 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@top-right-corner {
|
||||
|
||||
|
||||
@bottom-right {
|
||||
content: counter(page);
|
||||
vertical-align: top;
|
||||
padding-top: var(--running-bottom);
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
font-size: var(--font-size);
|
||||
color: var(--sign-color);
|
||||
z-index: 100;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -205,3 +228,25 @@
|
|||
/* DELETE BEFORE PRINT */
|
||||
|
||||
|
||||
|
||||
|
||||
.pagedjs_left_page .pagedjs_margin-bottom-left .pagedjs_margin-content::after{
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
padding-left: 10px;
|
||||
position: relative;
|
||||
left: -10px;
|
||||
padding-right: 1.5ch;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pagedjs_right_page .pagedjs_margin-bottom-right .pagedjs_margin-content::after{
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
padding-right: 10px;
|
||||
position: relative;
|
||||
left: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue