effets.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // Coloriser
  2. .green {
  3. background-blend-mode: screen;
  4. background-color: rgb(0,161,154);
  5. }
  6. .fill-green {
  7. position: absolute;
  8. background-color: rgb(0,161,154);
  9. width: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  10. height: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  11. margin-left: calc(-#{$marge} - #{$fond-perdu} );
  12. margin-top: calc(-#{$marge} - #{$fond-perdu}) !important;
  13. left:0;
  14. top:0;
  15. }
  16. .fill-motif {
  17. position: absolute;
  18. background-size: 0.4cm;
  19. width: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  20. height: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  21. margin-left: calc(-#{$marge} - #{$fond-perdu} );
  22. margin-top: calc(-#{$marge} - #{$fond-perdu}) !important;
  23. left:0;
  24. top:0;
  25. padding: 2cm;
  26. }
  27. .fill-motif-cross-left {
  28. @extend .fill-motif;
  29. background-image: url("/motifs/croix.png");
  30. background-position: right;
  31. 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%);
  32. }
  33. .fill-motif-cross-right {
  34. @extend .fill-motif;
  35. background-image: url("/motifs/croix.png");
  36. background-position: left;
  37. 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%,);
  38. }
  39. .layer-1 {
  40. z-index: 1;
  41. }
  42. .layer-2 {
  43. z-index: 2;
  44. }
  45. // .highlight-white {
  46. // background: white;
  47. // padding: 0.1rem 0rem;
  48. // }