_default.scss 6.6 KB

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