home-view-actualites.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .block-views-blockactus-block-1{
  2. // display:none;
  3. background-color: white;
  4. padding-bottom: 3rem;
  5. // padding-left: 12%;
  6. h2{
  7. width: 80%;
  8. // margin: auto;
  9. padding-top: 2rem;
  10. padding-bottom: 2rem;
  11. padding-left: 12%;
  12. font-size: 2rem;
  13. font-weight: 900;
  14. }
  15. .view-id-actus{
  16. width: 100%;
  17. margin: auto;
  18. .views-row{
  19. width: 35vw !important;
  20. margin-left: 1rem;
  21. &:first-of-type{
  22. padding-left: 15%;
  23. }
  24. .node-type-actualite{
  25. width: 100%;
  26. // display: flex;
  27. // flex-direction: column;
  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. // margin-left: 1rem;
  41. .field--name-field-image{
  42. height: 100%;
  43. .field__items{
  44. height: 100%;
  45. .field__item{
  46. width: 100%;
  47. height: 100%;
  48. img{
  49. width: 100%;
  50. height: auto;
  51. object-fit: cover;
  52. height: 100%;
  53. }
  54. }
  55. }
  56. }
  57. }
  58. .infos-content{
  59. position: relative;
  60. display: flex;
  61. flex-direction: column;
  62. border: solid $yellow-puca 1px;
  63. background-color: $white-button;
  64. padding: 1rem;
  65. width: 100%;
  66. right: 0%;
  67. height: auto;
  68. h2{
  69. order: 2;
  70. margin: 0;
  71. font-size: 1.5rem;
  72. font-weight: 600;
  73. padding: 0;;
  74. }
  75. .field--name-field-sous-titre {
  76. order: 3;
  77. font-size: 1.3rem;
  78. }
  79. .field--name-field-date{
  80. order: 4;
  81. font-weight: 900;
  82. padding-bottom: 1rem;
  83. }
  84. .field--name-field-type-d-actualite{
  85. order: 1;
  86. text-transform: uppercase;
  87. font-size: 1.2rem;
  88. }
  89. .field--name-field-site{
  90. order: 5;
  91. background-color: $gris-violet;
  92. color: white;
  93. border-radius: 50px;
  94. width: fit-content;
  95. padding: 0.2rem 0.9rem;
  96. .field__item{
  97. display: inline;
  98. color: white;
  99. font-weight: 900;
  100. font-size: 0.8rem;
  101. vertical-align: top;
  102. }
  103. }
  104. ul.links{
  105. order: 6;
  106. display: none;
  107. }
  108. }
  109. .body-content{
  110. display: none;
  111. }
  112. }
  113. }
  114. }
  115. .slick-dots{
  116. position: relative;
  117. bottom: 0;
  118. }
  119. .slick-prev{
  120. left:35px;
  121. }
  122. }
  123. }