_block_third_ressources_liees.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. //// pages ressources et actualités
  2. .block-entity-fieldnodefield-ress{
  3. margin-top: 3rem;
  4. .field--name-field-ress{
  5. .field__label{
  6. font-size: 0.8rem;
  7. color: $black;
  8. font-weight: 900;
  9. margin-bottom: 1rem;
  10. }
  11. .node-type-ressource{
  12. border: 2px solid $blue-light;
  13. padding: 1rem;
  14. height: fit-content;
  15. margin-bottom: 1rem;
  16. background-color: $white;
  17. display: flex;
  18. flex-direction: column;
  19. div{
  20. display: flex;
  21. flex-direction: column;
  22. .field--name-field-type-de-ressource{
  23. order: 2;
  24. text-transform: uppercase;
  25. color: $blue-light;
  26. font-weight: 900;
  27. font-size: 0.8rem;
  28. }
  29. .field--name-title{
  30. order: 3;
  31. h2{
  32. margin: 0;
  33. a{
  34. color: $black;
  35. font-size: 1rem;
  36. font-weight: 900;
  37. font-style: italic;
  38. }
  39. }
  40. }
  41. .field--name-field-sous-titre{
  42. order:4;
  43. }
  44. .field--name-field-auteur-s-{
  45. order: 5;
  46. font-weight: 800;
  47. p{
  48. margin: 0;
  49. }
  50. .field__label{
  51. display:none;
  52. }
  53. }
  54. .field--name-field-edition{
  55. p{
  56. margin: 0;
  57. }
  58. .field__label{
  59. display:none;
  60. }
  61. }
  62. .field--name-field-images{
  63. // display: none;
  64. order: 1;
  65. width: 25%;
  66. img{
  67. width: 100%;
  68. height: auto;
  69. }
  70. }
  71. .field--name-field-date-de-parution{
  72. order: 6;
  73. .field__label{
  74. display: none;
  75. }
  76. }
  77. .field--name-field-mots-clefs{
  78. order: 7;
  79. display: flex;
  80. margin-top: 0.8rem;
  81. flex-direction: row;
  82. flex-wrap: wrap;
  83. .field__label{
  84. display: none;
  85. }
  86. .field__items{
  87. display: flex;
  88. flex-direction: row;
  89. flex-wrap: wrap;
  90. }
  91. .field__item{
  92. padding-bottom: 0.5rem;
  93. margin-right: 0.5rem;
  94. padding-right: 0.3rem;
  95. font-size: 0.8rem;
  96. a{
  97. background: $blue-dark;
  98. color: $white;
  99. font-weight: 800;
  100. vertical-align: super;
  101. padding-left: 0.1rem;
  102. padding-right: 0.1rem;
  103. display: inline-flex;
  104. pointer-events: none;
  105. }
  106. }
  107. }
  108. ul.links.inline{
  109. display: none;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. /////// pages projets
  116. .block-entity-fieldnodefield-ressource-s-liee-s-{
  117. margin-top: 3rem;
  118. @media(max-width:479px){
  119. margin-top: 2rem;
  120. }
  121. h2{
  122. font-size: 0.8rem;
  123. color: $black;
  124. font-weight: 900;
  125. }
  126. .node-type-ressource{
  127. display: flex;
  128. flex-direction: column;
  129. border: 2px solid $blue-light;
  130. padding: 1rem;
  131. height: fit-content;
  132. margin-bottom: 1rem;
  133. background-color: $white;
  134. // &:first-of-type{
  135. // border-top: 1px solid $blue-light;
  136. // padding-top: 1rem;
  137. // &::after{
  138. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  139. // align-self: flex-end;
  140. // }
  141. // }
  142. div{
  143. display: flex;
  144. flex-direction: column;
  145. .field--name-title{
  146. order: 3;
  147. h2{
  148. margin: 0;
  149. a{
  150. color: $black;
  151. font-size: 1rem;
  152. font-weight: 900;
  153. font-style: italic;
  154. }
  155. }
  156. }
  157. .field--name-field-sous-titre{
  158. display: none;
  159. }
  160. .field--name-field-type-de-ressource{
  161. order: 2;
  162. text-transform: uppercase;
  163. color: $blue-light;
  164. font-weight: 900;
  165. font-size: 0.8rem;
  166. }
  167. .field--name-field-auteur-s-{
  168. order: 5;
  169. font-weight: 800;
  170. p{
  171. margin: 0;
  172. }
  173. .field__label{
  174. display:none;
  175. }
  176. }
  177. .field--name-field-edition{
  178. p{
  179. margin: 0;
  180. }
  181. .field__label{
  182. display:none;
  183. }
  184. }
  185. .field--name-field-images{
  186. // display: none;
  187. order: 1;
  188. width: 25%;
  189. img{
  190. width: 100%;
  191. height: auto;
  192. }
  193. }
  194. .field--name-field-date-de-parution{
  195. order: 6;
  196. .field__label{
  197. display: none;
  198. }
  199. }
  200. .field--name-field-mots-clefs{
  201. order: 7;
  202. display: flex;
  203. margin-top: 0.8rem;
  204. flex-direction: row;
  205. flex-wrap: wrap;
  206. .field__label{
  207. display: none;
  208. }
  209. .field__items{
  210. display: flex;
  211. flex-direction: row;
  212. }
  213. .field__item{
  214. margin-right: 0.5rem;
  215. padding-right: 0.3rem;
  216. font-size: 0.8rem;
  217. a{
  218. background: $blue-dark;
  219. color: $white;
  220. font-weight: 800;
  221. vertical-align: super;
  222. padding-left: 0.1rem;
  223. padding-right: 0.1rem;
  224. display: inline-flex;
  225. }
  226. }
  227. }
  228. ul.links.inline{
  229. display: none;
  230. }
  231. }
  232. }
  233. }