layout.scss 906 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. main:not(.home) {
  2. padding-top: 1.5rem;
  3. @media screen and (min-width: 768px) {
  4. padding: 1.5rem 0 !important;
  5. }
  6. @media screen and (min-width: 992px) {
  7. padding: 4rem 0 !important;
  8. }
  9. }
  10. //
  11. body {
  12. #content-ontop{
  13. position: relative;
  14. // top: -1400px;
  15. padding-top: 5rem;
  16. @media screen and (max-width: 300px) {
  17. padding-top: 2rem;
  18. }
  19. }
  20. #background-animated{
  21. width: 100VW;
  22. z-index: -1;
  23. position: absolute;
  24. overflow: hidden;
  25. left: 0;
  26. }
  27. }
  28. article {
  29. &.publications,
  30. &.interviews {
  31. margin-top: 1rem;
  32. .paragraph--type--images {
  33. img {
  34. max-width: 100%;
  35. max-height: 400px;
  36. object-fit: contain;
  37. @media screen and (min-width: 992px) {
  38. width: 100%;
  39. }
  40. }
  41. }
  42. }
  43. }
  44. //////////////////////// à enlever quand images
  45. #main-content-node {
  46. .__img-hero{
  47. display: none;
  48. }
  49. }
  50. ////////////////////////////////