layout.scss 1.4 KB

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