_static.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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. padding-bottom: 1rem;
  137. margin-bottom: 1rem;
  138. span:nth-of-type(2){
  139. display: none;
  140. }
  141. .file--mime-application-pdf{
  142. height: inherit;
  143. margin: auto;
  144. ::before{
  145. content: url("../images/pictos/noun_Download_file_307900.svg");
  146. min-width:25px;
  147. height: auto;
  148. padding-right: 0.5rem;
  149. // display: inline-flex;
  150. // align-items: center;
  151. }
  152. a{
  153. hyphens: auto;
  154. display: inline-flex;
  155. // align-items: center;
  156. color: $blue-light;
  157. font-weight: 800;
  158. // max-width: 80px ;
  159. }
  160. }
  161. }
  162. .block-entity-fieldnodefield-liens{
  163. .field--name-field-liens{
  164. .field__item{
  165. margin: auto;
  166. height: fit-content;
  167. border: 2px solid $blue-light;
  168. min-height: 2rem;
  169. background: $white;
  170. color: $blue-light;
  171. padding-left: 0.8rem;
  172. padding-top: 1rem;
  173. padding-bottom: 1rem;
  174. margin-bottom: 1rem;
  175. }
  176. a{
  177. display: inline-flex;
  178. // align-items: center;
  179. justify-items: center;
  180. color: $blue-light;
  181. font-weight: 800;
  182. &::before{
  183. content: url("../images/pictos/noun_External Link_674151.svg");
  184. min-width: 25px;
  185. height: auto;
  186. padding-right: 0.5rem;
  187. // display: inline-flex;
  188. // align-items: center;
  189. }
  190. svg.ext{
  191. display: none;
  192. }
  193. }
  194. }
  195. }
  196. .block-entity-fieldnodefield-ress{
  197. margin-top: 3rem;
  198. h2{
  199. font-size: 0.8rem;
  200. color: $black;
  201. font-weight: 900;
  202. }
  203. .node-type-ressource{
  204. border: 2px solid $blue-light;
  205. margin-left: 1rem;
  206. margin-bottom: 1rem ;
  207. padding: 1rem;
  208. div{
  209. display: flex;
  210. flex-direction: column;
  211. .field--name-field-type-de-ressource{
  212. order: 2;
  213. text-transform: uppercase;
  214. color: $blue-light;
  215. font-weight: 900;
  216. font-size: 0.8rem;
  217. }
  218. .field--name-title{
  219. order: 3;
  220. h2{
  221. margin: 0;
  222. a{
  223. color: $black;
  224. font-size: 1rem;
  225. font-weight: 900;
  226. font-style: italic;
  227. }
  228. }
  229. }
  230. .field--name-field-sous-titre{
  231. order:4;
  232. }
  233. .field--name-field-auteur-s-{
  234. order: 5;
  235. font-weight: 800;
  236. p{
  237. margin: 0;
  238. }
  239. .field__label{
  240. display:none;
  241. }
  242. }
  243. .field--name-field-edition{
  244. p{
  245. margin: 0;
  246. }
  247. .field__label{
  248. display:none;
  249. }
  250. }
  251. .field--name-field-images{
  252. // display: none;
  253. order: 1;
  254. width: 25%;
  255. img{
  256. width: 100%;
  257. height: auto;
  258. }
  259. }
  260. .field--name-field-mots-clefs{
  261. order: 6;
  262. display: flex;
  263. margin-top: 2rem;
  264. flex-direction: row;
  265. flex-wrap: wrap;
  266. .field__item{
  267. margin-right: 0.5rem;
  268. padding-left: 0.3rem;
  269. padding-right: 0.3rem;
  270. font-size: 0.8rem;
  271. a{
  272. background: $blue-dark;
  273. color: $white;
  274. font-weight: 800;
  275. vertical-align: super;
  276. padding-left: 0.1rem;
  277. padding-right: 0.1rem;
  278. display: inline-flex;
  279. }
  280. }
  281. }
  282. ul.links.inline{
  283. display: none;
  284. }
  285. }
  286. }
  287. }
  288. }
  289. }
  290. }
  291. // }
  292. }
  293. }