_actu.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. .path-actus{
  2. .content_container{
  3. &>div>h2:first-of-type{
  4. text-align: center;
  5. }
  6. .layout__region--content{
  7. .views-element-container{
  8. display: grid;
  9. grid-template-columns: 10% minmax(0, 1fr);
  10. h2{
  11. grid-column: 2 ;
  12. }
  13. div{
  14. grid-column: 2;
  15. h2{
  16. margin : 1rem 0;
  17. }
  18. }
  19. article{
  20. h2{
  21. color: white;
  22. a{
  23. text-decoration: none;
  24. &:hover{
  25. text-decoration: underline;
  26. }
  27. }
  28. }
  29. }
  30. footer{
  31. text-align: center;
  32. margin: 1.8rem 0;
  33. grid-column: 2 ;
  34. a{
  35. display: inline-block;
  36. margin: 0 auto;
  37. background: black;
  38. color: white;
  39. font-family: "duke";
  40. font-weight: 400;
  41. padding: .5rem 1.5rem;
  42. font-size: 0.8rem;
  43. text-decoration: none;
  44. }
  45. }
  46. }
  47. #actus_blocks-block_1{
  48. .views-row article{
  49. display: grid !important;
  50. grid-template-columns: repeat( 2, minmax(0, 1fr));
  51. position: relative;
  52. height: auto;
  53. h2{
  54. grid-row: 2;
  55. grid-column: 1 / span 2;
  56. }
  57. div{
  58. grid-row: 1;
  59. grid-column: 1 / span 2;
  60. }
  61. }
  62. }
  63. #home_blocks-block_3{
  64. .views-field-field-image{
  65. grid-column: 1;
  66. }
  67. .slick-slide{
  68. background-color:transparent;
  69. padding: 0;
  70. .views-row{
  71. padding: 0.4rem;
  72. }
  73. }
  74. }
  75. }
  76. //carroussel
  77. .slick-slide{
  78. margin: 0 1rem;
  79. background-color: $lightblue;
  80. padding: 1rem;
  81. }
  82. .slick-arrow{
  83. position: absolute;
  84. height: 100%;
  85. cursor: pointer;
  86. z-index: 100;
  87. background-color: white;
  88. opacity: 0;
  89. transition: opacity 250ms;
  90. width: 10%;
  91. &:hover{
  92. opacity: .5;
  93. }
  94. }
  95. .slick-next{
  96. right: 0;
  97. top: 0;
  98. }
  99. }
  100. }