_default.scss 6.2 KB

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