home-view-actualites.scss 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .block-views-blockactus-block-1{
  2. background-color: white;
  3. padding-bottom: 3rem;
  4. h2{
  5. width: 80%;
  6. font-size: 2rem;
  7. font-weight: 900;
  8. margin-left: 10%;
  9. }
  10. .view-id-actus{
  11. width: 100%;
  12. margin: auto;
  13. .views-row{
  14. width: 30vw !important;
  15. margin-left: 1rem;
  16. @media (max-width: 1200px) {
  17. width: 50vw !important;
  18. }
  19. &:first-of-type{
  20. padding-left: 15%;
  21. @media (max-width: 1200px) {
  22. padding-left: 16%;
  23. }
  24. }
  25. .node-type-actualite{
  26. width: 100%;
  27. height: 100%;
  28. > .entete_actu{
  29. display: flex;
  30. flex-direction: column;
  31. p.field__item{
  32. display: none;
  33. }
  34. .image-actualite{
  35. width: 75%;
  36. height: 250px;
  37. right: 10%;
  38. position: relative;
  39. @media (max-width: 1200px) {
  40. max-height: 150px;
  41. }
  42. .field--name-field-image{
  43. height: 100%;
  44. .field__items{
  45. height: 100%;
  46. .field__item{
  47. width: 100%;
  48. height: 100%;
  49. img{
  50. width: 100%;
  51. height: auto;
  52. object-fit: cover;
  53. height: 100%;
  54. }
  55. }
  56. }
  57. }
  58. }
  59. .infos-content{
  60. height: fit-content;
  61. width: 100%;
  62. }
  63. .body-content{
  64. display: none;
  65. }
  66. }
  67. }
  68. }
  69. .slick-dots{
  70. position: relative;
  71. bottom: 0;
  72. }
  73. .slick-prev{
  74. left:35px;
  75. }
  76. .slick-next{
  77. left: 90vw;
  78. }
  79. @media (max-width: 1400px) {
  80. .slick-prev{
  81. left:0vw;
  82. }
  83. .slick-next{
  84. left: 85vw;
  85. }
  86. }
  87. }
  88. }