_static.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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: flex-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. margin-top: 1rem;
  63. background-color: $white;
  64. .field--name-field-titre{
  65. font-size: 1.5rem;
  66. font-weight: 1000;
  67. font-family: 'Source Code Pro', monospace;
  68. color: $blue-dark;
  69. text-transform: uppercase;
  70. margin-top: 2rem;
  71. margin-bottom: 0.8rem;
  72. }
  73. h4{
  74. text-transform: none !important;
  75. img{
  76. width: 100%;
  77. height: auto;
  78. }
  79. }
  80. .field--type-text-long{
  81. padding-right: 2rem;
  82. }
  83. p{
  84. margin-top: 0;
  85. }
  86. }
  87. }
  88. .layout__region--third{ // colone de droite fichiers et ressources liées
  89. .block-region-third{
  90. margin-top: 1rem;
  91. display: flex;
  92. flex-direction: column;
  93. width: 70%;
  94. .block-entity-fieldnodefield-fichiers{
  95. height: fit-content;
  96. border: 2px solid $blue-light;
  97. background-color: $white;
  98. }
  99. .field--name-field-fichiers{
  100. min-height: 4rem;
  101. background: $white;
  102. color: $blue-light;
  103. padding-left: 0.8rem;
  104. padding-top: 1rem;
  105. margin-bottom: 1rem;
  106. span:nth-of-type(2){
  107. display: none;
  108. }
  109. .file--mime-application-pdf{
  110. height: inherit;
  111. margin: auto;
  112. ::before{
  113. content: url("../images/pictos/noun_Download_file_307900.svg");
  114. min-width:40px;
  115. height: auto;
  116. padding-right: 0.5rem;
  117. display: inline-flex;
  118. align-items: center;
  119. }
  120. a{
  121. hyphens: auto;
  122. display: inline-flex;
  123. align-items: center;
  124. color: $blue-light;
  125. font-weight: 800;
  126. // max-width: 80px ;
  127. }
  128. }
  129. }
  130. .block-entity-fieldnodefield-liens{
  131. .field--name-field-liens{
  132. .field__item{
  133. margin: auto;
  134. height: fit-content;
  135. border: 2px solid $blue-light;
  136. min-height: 4rem;
  137. background: $white;
  138. color: $blue-light;
  139. padding-left: 0.8rem;
  140. padding-top: 1rem;
  141. margin-bottom: 1rem;
  142. }
  143. a{
  144. display: inline-flex;
  145. align-items: center;
  146. justify-items: center;
  147. color: $blue-light;
  148. font-weight: 800;
  149. &::before{
  150. content: url("../images/pictos/noun_External Link_674151.svg");
  151. min-width: 40px;
  152. height: auto;
  153. padding-right: 0.5rem;
  154. display: inline-flex;
  155. align-items: center;
  156. }
  157. svg.ext{
  158. display: none;
  159. }
  160. }
  161. }
  162. }
  163. .block-entity-fieldnodefield-ress{
  164. margin-top: 3rem;
  165. h2{
  166. font-size: 0.8rem;
  167. color: $black;
  168. font-weight: 900;
  169. }
  170. .node-type-ressource{
  171. display: flex;
  172. flex-direction: column;
  173. border: 2px solid $blue-light;
  174. padding: 1rem;
  175. height: fit-content;
  176. margin-bottom: 1rem;
  177. background-color: $white;
  178. &:first-of-type{
  179. border-top: 1px solid $blue-light;
  180. padding-top: 1rem;
  181. &::after{
  182. content: url("../images/pictos/noun_Arrow_3771902.svg");
  183. align-self: flex-end;
  184. }
  185. }
  186. .field--name-title{
  187. a{
  188. color: $black;
  189. font-size: 1.4rem;
  190. font-weight: 600;
  191. }
  192. }
  193. .field--name-field-auteur-s-{
  194. font-weight: 800;
  195. p{
  196. margin: 0;
  197. }
  198. .field__label{
  199. display:none;
  200. }
  201. }
  202. .field--name-field-edition{
  203. p{
  204. margin: 0;
  205. }
  206. .field__label{
  207. display:none;
  208. }
  209. }
  210. .field--name-field-images{
  211. display: none;
  212. width: 50%;
  213. img{
  214. width: 100%;
  215. height: auto;
  216. }
  217. }
  218. .field--name-field-type-de-ressource{
  219. display: inline-flex;
  220. margin-top: 2rem;
  221. background: $blue-dark;
  222. margin-right: 1rem;
  223. padding-left: 0.3rem;
  224. padding-right: 0.3rem;
  225. color: $white;
  226. font-weight: 800;
  227. vertical-align: middle;
  228. }
  229. }
  230. }
  231. }
  232. }
  233. }
  234. // }
  235. }
  236. }