_static.scss 5.9 KB

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