_static.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. // justify-content: flex-end;
  23. padding-right: 2rem;
  24. .field--name-field-titre{
  25. display: flex;
  26. font-size: 1rem;
  27. font-weight: 1000;
  28. color: $blue-dark;
  29. border-bottom: 1px solid $blue-light;
  30. padding-bottom: 0.5rem;
  31. padding-right: 1rem;
  32. &:hover{
  33. text-decoration: underline;
  34. }
  35. }
  36. }
  37. }
  38. }
  39. .layout__region--second{ // paragraphe texte
  40. .block-entity-fieldnodefield-textes{
  41. background-color: $white;
  42. .field--name-field-titre{
  43. font-size: 1.5rem;
  44. font-weight: 1000;
  45. font-family: 'Source Code Pro';
  46. color: $blue-dark;
  47. text-transform: uppercase;
  48. }
  49. h4{
  50. text-transform: none !important;
  51. img{
  52. width: 100%;
  53. height: auto;
  54. }
  55. }
  56. .field--type-text-long{
  57. padding-right: 2rem;
  58. }
  59. p{
  60. margin-top: 0;
  61. }
  62. }
  63. }
  64. .layout__region--third{ // colone de droite fichiers et ressources liées
  65. .block-region-third{
  66. display: flex;
  67. flex-direction: column;
  68. width: 70%;
  69. .block-entity-fieldnodefield-fichiers{
  70. height: fit-content;
  71. border: 2px solid $blue-light;
  72. }
  73. .field--name-field-fichiers{
  74. min-height: 4rem;
  75. // max-width: 75%;
  76. background: $white;
  77. color: $blue-light;
  78. padding-left: 1rem;
  79. padding-top: 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. width: 50px;
  89. height: 53px;
  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. height: inherit;
  111. margin: auto;
  112. a{
  113. display: inline-flex;
  114. align-items: center;
  115. color: $blue-light;
  116. font-weight: 800;
  117. &::before{
  118. content: url("../images/pictos/noun_External Link_674151.svg");
  119. width: 50px;
  120. height: 53px;
  121. padding-right: 1rem;
  122. }
  123. svg.ext{
  124. display: none;
  125. }
  126. }
  127. }
  128. }
  129. .block-entity-fieldnodefield-ress{
  130. margin-top: 5rem;
  131. h2{
  132. font-size: 1rem;
  133. color: $black;
  134. }
  135. .node-type-ressource{
  136. display: flex;
  137. border: 2px solid $blue-light;
  138. padding-left: 1rem;
  139. padding-bottom: 3rem;
  140. height: fit-content;
  141. margin-bottom: 1rem;
  142. background-color: $white;
  143. &:first-of-type{
  144. border-top: 1px solid $blue-light;
  145. padding-top: 1rem;
  146. }
  147. .field, a{
  148. line-height: 0.6rem;
  149. font-size: 1.5rem;
  150. color: $blue-dark;
  151. font-weight: 500;
  152. }
  153. .field--name-field-images{
  154. width: 50%;
  155. img{
  156. width: 100%;
  157. height: auto;
  158. }
  159. }
  160. }
  161. }
  162. }
  163. }