_default.scss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. @include breakpoint(small down) {
  112. grid-column-start: 1;
  113. top: 0;
  114. }
  115. .field_titre{
  116. font-size: $font-normal;
  117. font-weight: 600;
  118. margin-top: .5rem;
  119. cursor: pointer;
  120. &:hover{
  121. text-decoration: underline;
  122. }
  123. }
  124. }
  125. .block-region-first #node\:title{
  126. font-size: 1.3rem;
  127. &:hover{
  128. text-decoration: none;
  129. }
  130. }
  131. .field_textes{
  132. .paragraph{
  133. // border-top: 1px solid black;
  134. border-bottom: 3px dotted gray;
  135. padding: 1rem 0;
  136. .field_titre{
  137. font-size: $font-big;
  138. font-weight: 600;
  139. text-transform: initial;
  140. cursor: pointer;
  141. // margin-top: 1rem;
  142. }
  143. .field_texte{
  144. height: auto;
  145. position: relative;
  146. h2{
  147. text-transform: inherit;
  148. }
  149. -webkit-transition: all 250ms ease;
  150. -moz-transition: all 250ms ease;
  151. -o-transition: all 250ms ease;
  152. transition: all 250ms ease;
  153. }
  154. }
  155. }
  156. .block-region-second{
  157. #node\:field_equipes{
  158. margin-top: 1.5rem;
  159. .field_equipes{
  160. .paragraph{
  161. .field_type_equipe{
  162. font-size: $font-medium;
  163. font-weight: 600;
  164. margin: 1rem 0;
  165. }
  166. .field_membres{
  167. .paragraph{
  168. display: grid;
  169. // grid-template-columns: 20% 1fr 1fr;
  170. grid-auto-columns: minmax(0, 20%) auto minmax(0, 1fr);
  171. margin-bottom: 1rem;
  172. }
  173. // div:not(.field_photo){
  174. // grid-column: 2;
  175. // // flex: 1 100%;
  176. // }
  177. .field_prenom{
  178. grid-column: 2;
  179. grid-row: 1;
  180. display: inline-block;
  181. font-weight: 500;
  182. align-self: end;
  183. }
  184. .field_nom{
  185. grid-column: 3;
  186. grid-row: 1;
  187. padding-left: .2rem;
  188. display: inline-block;
  189. width: auto;
  190. font-weight: 500;
  191. align-self: end;
  192. }
  193. .field_fonction{
  194. grid-column: 2 / span 2;
  195. align-self: start;
  196. }
  197. .field_photo{
  198. align-self: center;
  199. grid-row: 1 / span 2;
  200. margin-right: 1rem;
  201. img{
  202. // width: 100%;
  203. // height: 100%;
  204. }
  205. }
  206. }
  207. }
  208. }
  209. }
  210. #node\:field_partenaires{
  211. margin-top: 1.5rem;
  212. .paragraph{
  213. display: grid;
  214. // grid-template-columns: 20% 1fr 1fr;
  215. grid-auto-columns: minmax(0, 20%) auto;
  216. margin-bottom: 1rem;
  217. }
  218. .field_presentation{
  219. grid-column: 2;
  220. padding: 0 1rem;
  221. }
  222. .field_logo_partenaire{
  223. align-self: center;
  224. }
  225. }
  226. }
  227. }
  228. .page-node-type-actualite, .page-node-type-evenement{
  229. .block-region-first{
  230. background-color: black;
  231. color: white;
  232. // a:not(.prog-ressources-link,.back-actus-link){
  233. // text-transform: uppercase;
  234. // font-family: 'duke';
  235. // font-size: $font-big;
  236. // padding: .3rem .5rem;
  237. // text-decoration: none;
  238. // &:hover{
  239. // text-decoration: underline;
  240. // }
  241. // }
  242. }
  243. #node\:title{
  244. font-family: "trueno";
  245. font-weight: 600;
  246. font-size: $font-medium;
  247. margin-top: 1rem;
  248. margin-bottom: .3rem;
  249. }
  250. }