_static.scss 9.6 KB

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