_default.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. article, .paragraph{
  2. h2,h3,h4,h5,h6{
  3. font-family: "trueno";
  4. font-weight: 600;
  5. font-size: $font-medium;
  6. color:black;
  7. margin-top: 1rem;
  8. margin-bottom: .3rem;
  9. }
  10. p{
  11. margin-bottom: .5rem;
  12. }
  13. }
  14. .block-region-first,.block-region-third{
  15. h2{
  16. font-size: $font-big;
  17. background-color: black;
  18. color: white;
  19. padding: .1rem 1rem;
  20. }
  21. .views-field-field-intro{
  22. display: none;
  23. }
  24. }
  25. .block-region-third{
  26. .field_organisateur{
  27. padding: 0.5rem 1rem;
  28. }
  29. .field_partenaires{
  30. padding: .5rem 0;
  31. display: grid;
  32. grid-template-columns: 1fr 1fr;
  33. padding: 0.5rem 1rem;
  34. }
  35. }
  36. .block-region-first{
  37. background-color: black;
  38. color: white;
  39. z-index: 120;
  40. #node\:title{
  41. text-transform: uppercase;
  42. font-family: 'duke';
  43. font-size: $font-big;
  44. text-decoration: none;
  45. &:hover{
  46. text-decoration: underline;
  47. }
  48. }
  49. }
  50. .page-node-type-static{
  51. .layout__region{
  52. position: relative;
  53. }
  54. .layout__region--top{
  55. position: absolute;
  56. top: 0;
  57. left: 0;
  58. width: 100vw;
  59. height: 40vh;
  60. background: $trame;
  61. box-shadow: inset 0 -5rem 8rem white;
  62. z-index: -1;
  63. }
  64. .block-region-third{
  65. position: sticky;
  66. top: 3rem;
  67. }
  68. .block-region-first{
  69. padding: 1rem;
  70. .field_titre{
  71. font-size: $font-normal;
  72. font-weight: 600;
  73. margin-top: .5rem;
  74. cursor: pointer;
  75. &:hover{
  76. text-decoration: underline;
  77. }
  78. }
  79. }
  80. .block-region-first #node\:title{
  81. font-size: 1.3rem;
  82. &:hover{
  83. text-decoration: none;
  84. }
  85. }
  86. .field_textes{
  87. .paragraph{
  88. // border-top: 1px solid black;
  89. border-bottom: 3px dotted gray;
  90. padding: 1rem 0;
  91. .field_titre{
  92. font-size: $font-big;
  93. font-weight: 600;
  94. text-transform: initial;
  95. cursor: pointer;
  96. // margin-top: 1rem;
  97. }
  98. .field_texte{
  99. height: auto;
  100. position: relative;
  101. h2{
  102. text-transform: inherit;
  103. }
  104. -webkit-transition: all 250ms ease;
  105. -moz-transition: all 250ms ease;
  106. -o-transition: all 250ms ease;
  107. transition: all 250ms ease;
  108. }
  109. }
  110. }
  111. .block-region-second{
  112. #node\:field_equipes{
  113. .field_equipes{
  114. .paragraph{
  115. .field_type_equipe{
  116. font-size: $font-medium;
  117. font-weight: 600;
  118. margin: 1rem 0;
  119. }
  120. .field_membres{
  121. .paragraph{
  122. display: grid;
  123. // grid-template-columns: 20% 1fr 1fr;
  124. grid-auto-columns: minmax(0, 20%) auto minmax(0, 1fr);
  125. margin-bottom: 1rem;
  126. }
  127. // div:not(.field_photo){
  128. // grid-column: 2;
  129. // // flex: 1 100%;
  130. // }
  131. .field_prenom{
  132. grid-column: 2;
  133. grid-row: 1;
  134. display: inline-block;
  135. font-weight: 500;
  136. align-self: end;
  137. }
  138. .field_nom{
  139. grid-column: 3;
  140. grid-row: 1;
  141. padding-left: .2rem;
  142. display: inline-block;
  143. width: auto;
  144. font-weight: 500;
  145. align-self: end;
  146. }
  147. .field_fonction{
  148. grid-column: 2 / span 2;
  149. align-self: start;
  150. }
  151. .field_photo{
  152. align-self: center;
  153. grid-row: 1 / span 2;
  154. margin-right: 1rem;
  155. }
  156. }
  157. }
  158. }
  159. }
  160. #node\:field_partenaires{
  161. .paragraph{
  162. display: grid;
  163. // grid-template-columns: 20% 1fr 1fr;
  164. grid-auto-columns: minmax(0, 20%) auto;
  165. margin-bottom: 1rem;
  166. }
  167. .field_presentation{
  168. grid-column: 2;
  169. padding: 0 1rem;
  170. }
  171. .field_logo_partenaire{
  172. align-self: center;
  173. }
  174. }
  175. }
  176. }
  177. .page-node-type-actualite, .page-node-type-evenement{
  178. .block-region-first{
  179. background-color: black;
  180. color: white;
  181. a{
  182. text-transform: uppercase;
  183. font-family: 'duke';
  184. font-size: $font-big;
  185. padding: .3rem .5rem;
  186. text-decoration: none;
  187. &:hover{
  188. text-decoration: underline;
  189. }
  190. }
  191. }
  192. #node\:title{
  193. font-family: "trueno";
  194. font-weight: 600;
  195. font-size: $font-medium;
  196. margin-top: 1rem;
  197. margin-bottom: .3rem;
  198. }
  199. }