_static.scss 12 KB

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