_home-view-actualites.scss 3.1 KB

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