layout.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. main:not(.home) {
  2. @media screen and (min-width: 768px) {
  3. padding: 1.5rem 0 !important;
  4. }
  5. @media screen and (min-width: 992px) {
  6. padding: 4rem 0 !important;
  7. }
  8. }
  9. //
  10. body {
  11. #content-ontop{
  12. z-index: 3000;
  13. position: relative;
  14. top: -1200px;
  15. }
  16. #background-animated{
  17. z-index: 2000;
  18. position: relative;
  19. left: -350px;
  20. }
  21. position: relative;
  22. &::before {
  23. z-index: -1;
  24. content: " ";
  25. width: 100%;
  26. height: 100%;
  27. // background-image: url("../images/fond-ronds-trace.svg");
  28. background-repeat: no-repeat;
  29. background-size: content;
  30. display: block;
  31. position: absolute;
  32. opacity: 0.5;
  33. top: 100px;
  34. left: +53px;
  35. }
  36. // &::after {
  37. // z-index: -1;
  38. // content: " ";
  39. // width: 100%;
  40. // height: 100%;
  41. // background: linear-gradient(
  42. // to top,
  43. // white,
  44. // rgba(255, 255, 255, 0.8)
  45. // );
  46. // display: block;
  47. // position: absolute;
  48. // transform: translateY(-100%);
  49. // top: 100%;
  50. // left: 0;
  51. // }
  52. }
  53. article {
  54. .__title {
  55. // @include croix_or;
  56. }
  57. &.publications,
  58. &.interviews {
  59. margin-top: 1rem;
  60. .paragraph--type--images {
  61. img {
  62. max-width: 100%;
  63. max-height: 400px;
  64. object-fit: contain;
  65. @media screen and (min-width: 992px) {
  66. width: 100%;
  67. }
  68. }
  69. }
  70. }
  71. }
  72. h4 {
  73. // @include croix_or;
  74. }