_default.scss 6.7 KB

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