12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // parametres du document
- $largeur: 148mm;
- $hauteur: 210mm;
- $marge: 2cm;
- $font-de-base: 10pt;
- $fond-perdu: 8mm;
- $traits-de-coupes: true;
- @if $traits-de-coupes {
- .pagedjs_bleed-top::after {
- box-sizing: border-box;
- position: absolute;
- z-index: 10;
- content: "";
- height: calc(#{$fond-perdu} * 0.8);
- width: calc(100% - #{$fond-perdu} * 2);
- border-left: 0.25pt solid black;
- border-right: 0.25pt solid black;
- }
- .pagedjs_bleed-bottom::after {
- box-sizing: border-box;
- position: absolute;
- z-index: 10;
- content: "";
- height: calc(#{$fond-perdu} * 0.8);
- width: calc(100% - #{$fond-perdu} * 2);
- border-left: 0.25pt solid black;
- border-right: 0.25pt solid black;
- }
- .pagedjs_bleed-left::after {
- box-sizing: border-box;
- position: absolute;
- z-index: 10;
- content: "";
- width: calc(#{$fond-perdu} * 0.8);
- height: calc(100% - #{$fond-perdu} * 2);
- border-top: 0.25pt solid black;
- border-bottom: 0.25pt solid black;
- }
- .pagedjs_bleed-right::after {
- box-sizing: border-box;
- position: absolute;
- z-index: 10;
- content: "";
- width: calc(#{$fond-perdu} * 0.8);
- height: calc(100% - #{$fond-perdu} * 2);
- border-top: 0.25pt solid black;
- border-bottom: 0.25pt solid black;
- }
- }
|