_default.scss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. margin-top: 1.5rem;
  114. .field_equipes{
  115. .paragraph{
  116. .field_type_equipe{
  117. font-size: $font-medium;
  118. font-weight: 600;
  119. margin: 1rem 0;
  120. }
  121. .field_membres{
  122. .paragraph{
  123. display: grid;
  124. // grid-template-columns: 20% 1fr 1fr;
  125. grid-auto-columns: minmax(0, 20%) auto minmax(0, 1fr);
  126. margin-bottom: 1rem;
  127. }
  128. // div:not(.field_photo){
  129. // grid-column: 2;
  130. // // flex: 1 100%;
  131. // }
  132. .field_prenom{
  133. grid-column: 2;
  134. grid-row: 1;
  135. display: inline-block;
  136. font-weight: 500;
  137. align-self: end;
  138. }
  139. .field_nom{
  140. grid-column: 3;
  141. grid-row: 1;
  142. padding-left: .2rem;
  143. display: inline-block;
  144. width: auto;
  145. font-weight: 500;
  146. align-self: end;
  147. }
  148. .field_fonction{
  149. grid-column: 2 / span 2;
  150. align-self: start;
  151. }
  152. .field_photo{
  153. align-self: center;
  154. grid-row: 1 / span 2;
  155. margin-right: 1rem;
  156. img{
  157. // width: 100%;
  158. // height: 100%;
  159. }
  160. }
  161. }
  162. }
  163. }
  164. }
  165. #node\:field_partenaires{
  166. margin-top: 1.5rem;
  167. .paragraph{
  168. display: grid;
  169. // grid-template-columns: 20% 1fr 1fr;
  170. grid-auto-columns: minmax(0, 20%) auto;
  171. margin-bottom: 1rem;
  172. }
  173. .field_presentation{
  174. grid-column: 2;
  175. padding: 0 1rem;
  176. }
  177. .field_logo_partenaire{
  178. align-self: center;
  179. }
  180. }
  181. }
  182. }
  183. .page-node-type-actualite, .page-node-type-evenement{
  184. .block-region-first{
  185. background-color: black;
  186. color: white;
  187. a{
  188. text-transform: uppercase;
  189. font-family: 'duke';
  190. font-size: $font-big;
  191. padding: .3rem .5rem;
  192. text-decoration: none;
  193. &:hover{
  194. text-decoration: underline;
  195. }
  196. }
  197. }
  198. #node\:title{
  199. font-family: "trueno";
  200. font-weight: 600;
  201. font-size: $font-medium;
  202. margin-top: 1rem;
  203. margin-bottom: .3rem;
  204. }
  205. }