_default.scss 6.4 KB

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