test slash et entrée de chapitres
This commit is contained in:
parent
54ce5faf08
commit
221d5abf9a
8 changed files with 116 additions and 49 deletions
|
|
@ -72,17 +72,21 @@ figure img.cover{ object-fit: cover; max-width: none; width:100%; height:100%;}
|
|||
--pagedjs-full-page: spread;
|
||||
}
|
||||
|
||||
.full-bleed-image.full-page{
|
||||
.full-bleed-image{
|
||||
break-before: left;
|
||||
page-break-after: always;
|
||||
position: absolute;
|
||||
top: calc(var(--pagedjs-margin-top)*-1 - var(--pagedjs-bleed-top));
|
||||
height: var(--pagedjs-height);
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.pagedjs_left_page .full-bleed-image.full-page{
|
||||
.pagedjs_left_page .full-bleed-image{
|
||||
left: calc(var(--pagedjs-margin-left)*-1 - var(--pagedjs-bleed-left));
|
||||
right: calc(var(--pagedjs-margin-right)*-1);
|
||||
}
|
||||
|
||||
.pagedjs_right_page .full-bleed-image.full-page{
|
||||
.pagedjs_right_page .full-bleed-image{
|
||||
left: calc(var(--pagedjs-margin-left)*-1);
|
||||
right: calc(var(--pagedjs-margin-right)*-1 - var(--pagedjs-bleed-right));
|
||||
}
|
||||
|
|
@ -192,14 +196,17 @@ figure img.cover{ object-fit: cover; max-width: none; width:100%; height:100%;}
|
|||
}
|
||||
|
||||
.spread-image,
|
||||
.full-bleed-image.full-page {
|
||||
.full-bleed-image {
|
||||
height: var(--pagedjs-height);
|
||||
top: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.spread-image{
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.spread-image figure,
|
||||
.full-bleed-image figure{
|
||||
height: calc(var(--pagedjs-height) + var(--pagedjs-margin-top) + var(--pagedjs-margin-bottom));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue