layout.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.svg");
  28. background-repeat: no-repeat;
  29. background-size: content;
  30. display: block;
  31. position: absolute;
  32. top: 0;
  33. left: 0;
  34. }
  35. // &::after {
  36. // z-index: -1;
  37. // content: " ";
  38. // width: 100%;
  39. // height: 100%;
  40. // background: linear-gradient(
  41. // to top,
  42. // white,
  43. // rgba(255, 255, 255, 0.8)
  44. // );
  45. // display: block;
  46. // position: absolute;
  47. // transform: translateY(-100%);
  48. // top: 100%;
  49. // left: 0;
  50. // }
  51. }
  52. article {
  53. .__title {
  54. // @include croix_or;
  55. }
  56. &.publications,
  57. &.interviews {
  58. margin-top: 1rem;
  59. .paragraph--type--images {
  60. img {
  61. max-width: 100%;
  62. max-height: 400px;
  63. object-fit: contain;
  64. @media screen and (min-width: 992px) {
  65. width: 100%;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. h4 {
  72. // @include croix_or;
  73. }