_default.scss 6.3 KB

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