_default.scss 6.5 KB

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