_static.scss 12 KB

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