front.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. header{
  2. #block-mainnavigation{
  3. ul{
  4. li{
  5. font-size: 0.8rem;
  6. a{
  7. color: black;
  8. font-family: 'truenoregular';
  9. &.is-active{
  10. font-family: 'truenobold';
  11. color: black;
  12. text-decoration: none;
  13. }
  14. &:hover{
  15. font-family: 'truenobold';
  16. color: black;
  17. text-decoration: none;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. }
  24. #txt_present{
  25. margin: 3rem 0;
  26. @media screen and (min-width: 992px) {
  27. margin: 5rem 0;
  28. }
  29. & * {
  30. color: $color2;
  31. }
  32. & > div{
  33. margin: 2rem auto;
  34. }
  35. .__title-present{
  36. h2{
  37. font-size: 1.9rem;
  38. font-family: 'truenoregular';
  39. line-height: normal;
  40. }
  41. }
  42. .__sub-title-present{
  43. p{
  44. font-family: 'truenoregular_italic';
  45. font-size: 0.9rem;
  46. line-height: 1.3rem;
  47. }
  48. }
  49. .__body-present{
  50. p{
  51. font-family: 'truenolight';
  52. font-size: 1.2rem;
  53. line-height: 1.8rem;
  54. }
  55. }
  56. .more_link{
  57. padding: 0rem 1rem 0.2rem 1rem;
  58. background: white;
  59. a{
  60. font-size: 0.7rem
  61. }
  62. }
  63. }
  64. #block-views-block-dernieres-publications-block-1{
  65. .views{
  66. section:not(.wrap_head){
  67. margin: 1rem 0;
  68. @media screen and (min-width: 768px) {
  69. margin: 1rem calc( 0rem - #{$gutter});
  70. }
  71. }
  72. }
  73. }
  74. #block-views-block-gallerie-block-1{
  75. section:not(.wrap_head){
  76. display: flex;
  77. flex-wrap: wrap;
  78. margin:0 -1rem!important;
  79. figure{
  80. padding: 1rem;
  81. margin: 0;
  82. width: 100%;
  83. max-height: 400px;
  84. @media screen and (min-width: 768px) {
  85. width: calc( 100% / 3);
  86. max-height: 300px;
  87. }
  88. @media screen and (min-width: 1024px) {
  89. width: calc( 100% / 6);
  90. max-height:200px;
  91. }
  92. img{
  93. width: 100%;
  94. height: 100%;
  95. object-fit: cover;
  96. }
  97. }
  98. }
  99. .pager{
  100. text-align: center;
  101. margin: 2rem;
  102. .wrap--btn{
  103. a{
  104. @include shadow;
  105. background: white;
  106. width: fit-content;
  107. margin: auto;
  108. padding: 0.5rem 1rem;
  109. font-size: 12px;
  110. display: block;
  111. font-family: 'truenobold';
  112. color: $color2;
  113. }
  114. }
  115. }
  116. }
  117. .lightbox{
  118. position: fixed!important;
  119. top: 50%!important;
  120. transform: translateY(-50%)!important;
  121. }
  122. .lb-dataContainer{
  123. width: 100%;
  124. background:white;
  125. .lb-details{
  126. width: 100%;
  127. }
  128. span{
  129. display: block;
  130. text-align: center;
  131. color: black;
  132. }
  133. .lb-number{
  134. font-family: 'truenobold';
  135. padding-bottom:0;
  136. }
  137. }
  138. #block-views-block-gallerie-block-1,
  139. #block-views-block-slide-programme-block-1,
  140. #block-views-block-dernieres-publications-block-1{
  141. margin: 2rem 0;
  142. @media screen and (min-width: 992px) {
  143. margin: 5rem 0;
  144. }
  145. h3{
  146. text-transform: uppercase;
  147. margin: 0;
  148. font-family: 'dukefill';
  149. font-size: 2rem;
  150. letter-spacing: $letter_spacingH;
  151. color: $color2
  152. }
  153. }
  154. #block-views-block-slide-programme-block-1{
  155. h3{
  156. &::after{
  157. display: inline-flex;
  158. width: 60px;
  159. height: 60px;
  160. vertical-align: middle;
  161. margin-left:20px;
  162. @include labelOnline;
  163. }
  164. }
  165. }