_static.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. .path-node.page-node-type-static{
  2. .layout-container{
  3. // display: flex;
  4. // flex-direction: column;
  5. // flex-flow: row wrap;
  6. // header{
  7. // flex: 0 0 100%;
  8. // }
  9. // main{
  10. // flex: 0 0 100%;
  11. .layout-content{
  12. // padding-top: 0;
  13. .layout__region--top{ //bandeau titre page static
  14. padding-bottom: 3rem;
  15. height: 30vh;
  16. .block-entity-fieldnodetitle{
  17. width: fit-content;
  18. margin-left: 13%;
  19. margin-top: 15vh;
  20. .field--name-title{
  21. font-family: 'Source Code Pro';
  22. font-size: 2rem;
  23. font-weight: 800;
  24. text-transform: uppercase;
  25. }
  26. }
  27. // .block-entity-fieldnodefield-images{
  28. // display: none;
  29. // height: inherit;
  30. // }
  31. }
  32. .layout__region--first{ // menu ancres a gauche
  33. position: relative;
  34. .block-region-first{
  35. display: flex;
  36. justify-content: end;
  37. position: sticky;
  38. top: 7rem;
  39. .block-entity-fieldnodefield-textes{
  40. display: flex;
  41. width: 50%;
  42. background-color: $white;
  43. padding-right: 2rem;
  44. .field--name-field-titre{
  45. display: flex;
  46. font-size: 1rem;
  47. font-weight: 1000;
  48. color: $blue-dark;
  49. border-bottom: 1px solid $blue-light;
  50. padding-bottom: 0.8rem;
  51. padding-right: 1rem;
  52. margin-top: 1rem;
  53. &:hover{
  54. text-decoration: underline;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .layout__region--second{ // paragraphe texte
  61. .block-entity-fieldnodefield-textes{
  62. background-color: $white;
  63. .field--name-field-titre{
  64. font-size: 1.5rem;
  65. font-weight: 1000;
  66. font-family: 'Source Code Pro';
  67. color: $blue-dark;
  68. text-transform: uppercase;
  69. margin-top: 2rem;
  70. margin-bottom: 0.8rem;
  71. }
  72. h4{
  73. text-transform: none !important;
  74. img{
  75. width: 100%;
  76. height: auto;
  77. }
  78. }
  79. .field--type-text-long{
  80. padding-right: 2rem;
  81. }
  82. p{
  83. margin-top: 0;
  84. }
  85. }
  86. }
  87. .layout__region--third{ // colone de droite fichiers et ressources liées
  88. .block-region-third{
  89. display: flex;
  90. flex-direction: column;
  91. width: 70%;
  92. .block-entity-fieldnodefield-fichiers{
  93. height: fit-content;
  94. border: 2px solid $blue-light;
  95. background-color: $white;
  96. }
  97. .field--name-field-fichiers{
  98. min-height: 4rem;
  99. background: $white;
  100. color: $blue-light;
  101. padding-left: 0.8rem;
  102. padding-top: 1rem;
  103. margin-bottom: 1rem;
  104. span:nth-of-type(2){
  105. display: none;
  106. }
  107. .file--mime-application-pdf{
  108. height: inherit;
  109. margin: auto;
  110. ::before{
  111. content: url("../images/pictos/noun_Download_file_307900.svg");
  112. min-width:40px;
  113. height: auto;
  114. padding-right: 0.5rem;
  115. display: inline-flex;
  116. align-items: center;
  117. }
  118. a{
  119. hyphens: auto;
  120. display: inline-flex;
  121. align-items: center;
  122. color: $blue-light;
  123. font-weight: 800;
  124. // max-width: 80px ;
  125. }
  126. }
  127. }
  128. .block-entity-fieldnodefield-liens{
  129. .field--name-field-liens{
  130. .field__item{
  131. margin: auto;
  132. height: fit-content;
  133. border: 2px solid $blue-light;
  134. min-height: 4rem;
  135. background: $white;
  136. color: $blue-light;
  137. padding-left: 0.8rem;
  138. padding-top: 1rem;
  139. margin-bottom: 1rem;
  140. }
  141. a{
  142. display: inline-flex;
  143. align-items: center;
  144. justify-items: center;
  145. color: $blue-light;
  146. font-weight: 800;
  147. &::before{
  148. content: url("../images/pictos/noun_External Link_674151.svg");
  149. min-width: 40px;
  150. height: auto;
  151. padding-right: 0.5rem;
  152. display: inline-flex;
  153. align-items: center;
  154. }
  155. svg.ext{
  156. display: none;
  157. }
  158. }
  159. }
  160. }
  161. .block-entity-fieldnodefield-ress{
  162. margin-top: 3rem;
  163. h2{
  164. font-size: 0.8rem;
  165. color: $black;
  166. font-weight: 900;
  167. }
  168. .node-type-ressource{
  169. display: flex;
  170. flex-direction: column;
  171. border: 2px solid $blue-light;
  172. padding: 1rem;
  173. height: fit-content;
  174. margin-bottom: 1rem;
  175. background-color: $white;
  176. &:first-of-type{
  177. border-top: 1px solid $blue-light;
  178. padding-top: 1rem;
  179. &::after{
  180. content: url("../images/pictos/noun_Arrow_3771902.svg");
  181. align-self: end;
  182. }
  183. }
  184. .field--name-title{
  185. a{
  186. color: $black;
  187. font-size: 1.4rem;
  188. font-weight: 600;
  189. }
  190. }
  191. .field--name-field-auteur-s-{
  192. font-weight: 800;
  193. p{
  194. margin: 0;
  195. }
  196. .field__label{
  197. display:none;
  198. }
  199. }
  200. .field--name-field-edition{
  201. p{
  202. margin: 0;
  203. }
  204. .field__label{
  205. display:none;
  206. }
  207. }
  208. .field--name-field-images{
  209. display: none;
  210. width: 50%;
  211. img{
  212. width: 100%;
  213. height: auto;
  214. }
  215. }
  216. .field--name-field-type-de-ressource{
  217. display: inline-flex;
  218. margin-top: 2rem;
  219. background: $blue-dark;
  220. margin-right: 1rem;
  221. padding-left: 0.3rem;
  222. padding-right: 0.3rem;
  223. color: $white;
  224. font-weight: 800;
  225. vertical-align: middle;
  226. }
  227. }
  228. }
  229. }
  230. }
  231. }
  232. // }
  233. }
  234. }