slides.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @media screen and (min-width: 576px) {
  2. #block-views-block-slide-programme-block-1,
  3. #block-views-block-dernieres-publications-block-1{
  4. .views{
  5. section{
  6. .head{
  7. display: flex!important;
  8. width: 100%;
  9. justify-content: space-between;
  10. align-items: center;
  11. }
  12. }
  13. }
  14. }
  15. }
  16. #block-views-block-slide-programme-block-1{
  17. .date{
  18. font-size: 1.5rem;
  19. font-family: 'truenoregular';
  20. text-transform: uppercase;
  21. }
  22. .__slide{
  23. .flickity-viewport{
  24. overflow: initial;
  25. }
  26. a{
  27. height: 100%;
  28. background: white;
  29. @include shadow;
  30. }
  31. article{
  32. height: 325px;
  33. background: none;
  34. display: flex;
  35. margin-top: 3rem;
  36. margin-bottom: 1.5rem;
  37. &.__wrap{
  38. background: white;
  39. }
  40. &.last::after{
  41. display: inline-block;
  42. content: " ";
  43. width: 3px;
  44. height: auto;
  45. margin: -2.5rem 0 0 0;
  46. background: $color1;
  47. position: relative;
  48. left: 0.5rem;
  49. }
  50. &.first{
  51. flex-direction: column;
  52. span{
  53. position: absolute;
  54. top: -2.5rem;
  55. width: max-content;
  56. font-size: 1.5rem;
  57. font-family: 'truenoregular';
  58. }
  59. }
  60. }
  61. }
  62. }
  63. #block-views-block-slide-programme-block-1,
  64. #block-views-block-dernieres-publications-block-1{
  65. section:not(.wrap_head){
  66. margin: 1rem 0;
  67. }
  68. .views{
  69. section{
  70. .head{
  71. display: block;
  72. }
  73. .flickity-slider{
  74. // margin-left: 1rem;
  75. }
  76. }
  77. }
  78. }
  79. .paragraph--type--role-de-l-intervenant{
  80. margin-bottom: 2rem;
  81. .__slide{
  82. &:after {
  83. content: 'flickity';
  84. display: none;
  85. @media screen and ( min-width: 768px ) {
  86. content: '';
  87. }
  88. }
  89. .flickity-viewport{
  90. overflow: initial;
  91. }
  92. .flickity-slider > div{
  93. width: 70%;
  94. padding: 0 0.5rem;
  95. @media screen and ( min-width: 768px ) {
  96. width: 100%;
  97. }
  98. }
  99. }
  100. }
  101. .flickity-button {
  102. background: transparent;
  103. &:hover{
  104. background: transparent;
  105. }
  106. }
  107. .flickity-button-icon {
  108. fill: $col_black;
  109. }
  110. .flickity-button:disabled {
  111. display: none;
  112. }