effets.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Coloriser
  2. .green {
  3. background-blend-mode: screen;
  4. background-color: rgb(0,161,154);
  5. }
  6. .fill-green {
  7. background-color: rgb(0,161,154);
  8. width: calc(148mm + #{$fond-perdu} * 2);
  9. height: calc(210mm + #{$fond-perdu} * 2);
  10. position: absolute;
  11. margin-left: calc(-2cm - #{$fond-perdu});
  12. margin-top: calc(-2cm - #{$fond-perdu});
  13. }
  14. .fill-motif {
  15. background-size: 0.4cm;
  16. width: calc(148mm + #{$fond-perdu} * 2);
  17. height: calc(210mm + #{$fond-perdu} * 2);
  18. position: absolute;
  19. margin-left: calc(-2cm - #{$fond-perdu});
  20. margin-top: calc(-2cm - #{$fond-perdu});
  21. padding: 2cm;
  22. }
  23. .fill-motif-cross-left {
  24. @extend .fill-motif;
  25. background-image: url("/motifs/croix.png");
  26. background-position: right;
  27. clip-path: polygon(100% 7%, 83% 12%, 92% 15%, 88% 21%, 86% 38%, 80% 37%, 75% 30%, 77% 27%, 75% 21%, 61% 21%, 69% 18%, 66% 10%, 58% 9%, 55% 3%, 42% 3%, 24% 6%, 22% 11%, 25% 15%, 17% 18%, 15% 23%, 24% 26%, 27% 32%, 22% 40%, 25% 48%, 37% 53%, 49% 49%, 55% 42%, 57% 46%, 56% 55%, 61% 67%, 58% 70%, 41% 65%, 34% 72%, 47% 76%, 51% 81%, 62% 76%, 67% 83%, 67% 89%, 71% 89%, 78% 96%, 97% 94%, 100% 88%, 96% 83%, 100% 82%);
  28. }
  29. .fill-motif-cross-right {
  30. @extend .fill-motif;
  31. background-image: url("/motifs/croix.png");
  32. background-position: left;
  33. clip-path: polygon(0 7%, 15% 10%, 30% 15%, 37% 26%, 53% 32%, 48% 47%, 65% 57%, 64% 62%, 61% 67%, 40% 64%, 40% 71%, 24% 71%, 20% 79%, 0 82%,);
  34. }
  35. .layer-1 {
  36. z-index: 1;
  37. }
  38. .layer-2 {
  39. z-index: 2;
  40. }
  41. // .highlight-white {
  42. // background: white;
  43. // padding: 0.1rem 0rem;
  44. // }