_default.scss 6.2 KB

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