front.scss 3.2 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. #block-views-block-slide-interviews-block-1 {
  66. .views {
  67. section:not(.wrap_head) {
  68. margin: 1rem 0;
  69. @media screen and (min-width: 768px) {
  70. margin: 1rem calc(0rem - #{$gutter});
  71. }
  72. }
  73. }
  74. }
  75. #block-views-block-gallerie-block-1 {
  76. section:not(.wrap_head) {
  77. display: flex;
  78. flex-wrap: wrap;
  79. margin: 0 -1rem !important;
  80. figure {
  81. padding: 1rem;
  82. margin: 0;
  83. width: 100%;
  84. max-height: 400px;
  85. @media screen and (min-width: 768px) {
  86. width: calc(100% / 3);
  87. max-height: 300px;
  88. }
  89. @media screen and (min-width: 1024px) {
  90. width: calc(100% / 6);
  91. max-height: 200px;
  92. }
  93. img {
  94. width: 100%;
  95. height: 100%;
  96. object-fit: cover;
  97. }
  98. }
  99. }
  100. .pager {
  101. text-align: center;
  102. margin: 2rem;
  103. .wrap--btn {
  104. a {
  105. @include shadow;
  106. background: white;
  107. width: fit-content;
  108. margin: auto;
  109. padding: 0.5rem 1rem;
  110. font-size: 12px;
  111. display: block;
  112. font-family: "truenobold";
  113. color: $color2;
  114. }
  115. }
  116. }
  117. }
  118. .lightbox {
  119. position: fixed !important;
  120. top: 50% !important;
  121. transform: translateY(-50%) !important;
  122. }
  123. .lb-dataContainer {
  124. width: 100%;
  125. background: white;
  126. .lb-details {
  127. width: 100%;
  128. }
  129. span {
  130. display: block;
  131. text-align: center;
  132. color: black;
  133. }
  134. .lb-number {
  135. font-family: "truenobold";
  136. padding-bottom: 0;
  137. }
  138. }
  139. #block-views-block-gallerie-block-1,
  140. #block-views-block-slide-programme-block-1,
  141. #block-views-block-dernieres-publications-block-1,
  142. #block-views-block-slide-interviews-block-1 {
  143. margin: 2rem 0;
  144. @media screen and (min-width: 992px) {
  145. margin: 5rem 0;
  146. }
  147. h3 {
  148. text-transform: uppercase;
  149. margin: 0;
  150. font-family: "dukefill";
  151. font-size: 2rem;
  152. letter-spacing: $letter_spacingH;
  153. color: $color2;
  154. }
  155. }
  156. #block-views-block-slide-programme-block-1 {
  157. h3 {
  158. &::after {
  159. display: inline-flex;
  160. width: 60px;
  161. height: 60px;
  162. vertical-align: middle;
  163. margin-left: 20px;
  164. @include labelOnline;
  165. }
  166. }
  167. }