_static.scss 5.9 KB

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