_default.scss 6.9 KB

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