_static.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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. .field--name-field-fichiers{
  130. min-height: 4rem;
  131. background: $white;
  132. color: $blue-light;
  133. padding-left: 0.8rem;
  134. padding-top: 1rem;
  135. padding-bottom: 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:25px;
  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. }
  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. background-color: $white;
  206. // margin-left: 1rem;
  207. margin-bottom: 1rem ;
  208. padding: 1rem;
  209. div{
  210. display: flex;
  211. flex-direction: column;
  212. .field--name-field-type-de-ressource{
  213. order: 2;
  214. text-transform: uppercase;
  215. color: $blue-light;
  216. font-weight: 900;
  217. font-size: 0.8rem;
  218. }
  219. .field--name-title{
  220. order: 3;
  221. h2{
  222. margin: 0;
  223. a{
  224. color: $black;
  225. font-size: 1rem;
  226. font-weight: 900;
  227. font-style: italic;
  228. }
  229. }
  230. }
  231. .field--name-field-sous-titre{
  232. order:4;
  233. }
  234. .field--name-field-auteur-s-{
  235. order: 5;
  236. font-weight: 800;
  237. p{
  238. margin: 0;
  239. }
  240. .field__label{
  241. display:none;
  242. }
  243. }
  244. .field--name-field-edition{
  245. p{
  246. margin: 0;
  247. }
  248. .field__label{
  249. display:none;
  250. }
  251. }
  252. .field--name-field-images{
  253. // display: none;
  254. order: 1;
  255. width: 25%;
  256. img{
  257. width: 100%;
  258. height: auto;
  259. }
  260. }
  261. .field--name-field-date-de-parution{
  262. order: 6;
  263. .field__label{
  264. display: none;
  265. }
  266. }
  267. .field--name-field-mots-clefs{
  268. order: 7;
  269. display: flex;
  270. margin-top: 0.8rem;
  271. flex-direction: row;
  272. flex-wrap: wrap;
  273. .field__label{
  274. display: none;
  275. }
  276. .field__items{
  277. display: flex;
  278. flex-direction: row;
  279. }
  280. .field__item{
  281. margin-right: 0.5rem;
  282. padding-right: 0.3rem;
  283. font-size: 0.8rem;
  284. a{
  285. background: $blue-dark;
  286. color: $white;
  287. font-weight: 800;
  288. vertical-align: super;
  289. padding-left: 0.1rem;
  290. padding-right: 0.1rem;
  291. display: inline-flex;
  292. }
  293. }
  294. }
  295. ul.links.inline{
  296. display: none;
  297. }
  298. }
  299. }
  300. }
  301. }
  302. }
  303. }
  304. // }
  305. }
  306. }