_default.scss 6.8 KB

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