_static.scss 5.4 KB

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