_default.scss 6.6 KB

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