_static.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. display: inline-flex;
  94. align-items: center;
  95. color: $blue-light;
  96. font-weight: 800;
  97. }
  98. }
  99. }
  100. .block-entity-fieldnodefield-liens{
  101. // height: fit-content;
  102. // border: 2px solid $blue-light;
  103. // min-height: 4rem;
  104. // // max-width: 75%;
  105. // background: $white;
  106. // color: $blue-light;
  107. // padding-left: 1rem;
  108. // padding-top: 1rem;
  109. .field--name-field-liens{
  110. .field__item{
  111. margin: auto;
  112. height: fit-content;
  113. border: 2px solid $blue-light;
  114. min-height: 4rem;
  115. background: $white;
  116. color: $blue-light;
  117. padding-left: 1rem;
  118. padding-top: 1rem;
  119. margin-bottom: 1rem;
  120. }
  121. a{
  122. display: inline-flex;
  123. align-items: center;
  124. color: $blue-light;
  125. font-weight: 800;
  126. &::before{
  127. content: url("../images/pictos/noun_External Link_674151.svg");
  128. min-width: 50px;
  129. height: auto;
  130. padding-right: 1rem;
  131. }
  132. svg.ext{
  133. display: none;
  134. }
  135. }
  136. }
  137. }
  138. .block-entity-fieldnodefield-ress{
  139. margin-top: 5rem;
  140. h2{
  141. font-size: 1rem;
  142. color: $black;
  143. }
  144. .node-type-ressource{
  145. display: flex;
  146. border: 2px solid $blue-light;
  147. padding-left: 1rem;
  148. padding-bottom: 3rem;
  149. height: fit-content;
  150. margin-bottom: 1rem;
  151. background-color: $white;
  152. &:first-of-type{
  153. border-top: 1px solid $blue-light;
  154. padding-top: 1rem;
  155. }
  156. .field, a{
  157. line-height: 0.6rem;
  158. font-size: 1.5rem;
  159. color: $blue-dark;
  160. font-weight: 500;
  161. }
  162. .field--name-field-images{
  163. width: 50%;
  164. img{
  165. width: 100%;
  166. height: auto;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }