parametres.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // parametres du document
  2. $largeur: 148mm;
  3. $hauteur: 210mm;
  4. $marge: 2cm;
  5. $font-de-base: 10pt;
  6. $fond-perdu: 8mm;
  7. $traits-de-coupes: true;
  8. @if $traits-de-coupes {
  9. .pagedjs_bleed-top::after {
  10. box-sizing: border-box;
  11. position: absolute;
  12. z-index: 10;
  13. content: "";
  14. height: calc(#{$fond-perdu} * 0.8);
  15. width: calc(100% - #{$fond-perdu} * 2);
  16. border-left: 0.25pt solid black;
  17. border-right: 0.25pt solid black;
  18. }
  19. .pagedjs_bleed-bottom::after {
  20. box-sizing: border-box;
  21. position: absolute;
  22. z-index: 10;
  23. content: "";
  24. height: calc(#{$fond-perdu} * 0.8);
  25. width: calc(100% - #{$fond-perdu} * 2);
  26. border-left: 0.25pt solid black;
  27. border-right: 0.25pt solid black;
  28. }
  29. .pagedjs_bleed-left::after {
  30. box-sizing: border-box;
  31. position: absolute;
  32. z-index: 10;
  33. content: "";
  34. width: calc(#{$fond-perdu} * 0.8);
  35. height: calc(100% - #{$fond-perdu} * 2);
  36. border-top: 0.25pt solid black;
  37. border-bottom: 0.25pt solid black;
  38. }
  39. .pagedjs_bleed-right::after {
  40. box-sizing: border-box;
  41. position: absolute;
  42. z-index: 10;
  43. content: "";
  44. width: calc(#{$fond-perdu} * 0.8);
  45. height: calc(100% - #{$fond-perdu} * 2);
  46. border-top: 0.25pt solid black;
  47. border-bottom: 0.25pt solid black;
  48. }
  49. }