_default.scss 5.4 KB

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