node-site.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. .page-node-site{
  2. .block-region-first{
  3. .block-entity-fieldnodefield-fichiers{
  4. width: 80%;
  5. margin: auto;
  6. }
  7. }
  8. .region-content{
  9. width: 80%;
  10. margin: auto;
  11. display: grid;
  12. grid-template-columns: repeat(8, 1fr);
  13. grid-template-rows: 0.5fr 0.5fr repeat(5, 2fr);
  14. #block-reha-prevnextblock{
  15. display: flex;
  16. flex-direction: row;
  17. grid-column: 2 /span 8;
  18. grid-row: 2;
  19. z-index: 97;
  20. height: fit-content;
  21. // align-self: end;
  22. justify-content: space-evenly;
  23. .next-site{
  24. ::after{
  25. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  26. padding-left: 0.5rem;
  27. padding-top: 0.1rem;
  28. }
  29. }
  30. .prev-site{
  31. ::before{
  32. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  33. display: inline-block;
  34. transform: rotate(180deg);
  35. padding-left: 0.5rem;
  36. }
  37. }
  38. }
  39. #block-reha-titredepage{
  40. display: none;
  41. }
  42. #block-reha-contenudelapageprincipale{
  43. grid-column: 1 /span 8;
  44. grid-row: 2 /span 10;
  45. .node-type-site{
  46. margin: auto;
  47. display: flex;
  48. flex-direction: column;
  49. .image-site{
  50. order: 2;
  51. top: -115px;
  52. position: relative;
  53. .field--name-field-image{
  54. width: 100%;
  55. margin: auto;
  56. .field__item{
  57. display: flex;
  58. flex-direction: row;
  59. img{
  60. width: 100%;
  61. object-fit: cover;
  62. height: auto;
  63. padding-left: 13%;
  64. }
  65. blockquote{
  66. align-self: flex-end;
  67. font-style: italic;
  68. margin: 0;
  69. width: 20%;
  70. p{
  71. margin: 0;
  72. padding-left: 1rem;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. .infos-content-site{
  79. z-index: 99;
  80. background-color: $white-button;
  81. width: 25vw;
  82. order: 1;
  83. display: flex;
  84. flex-direction: column;
  85. padding-left: 1rem;
  86. padding-right: 1rem;
  87. padding-bottom: 4rem;
  88. padding-top: 1rem;
  89. h1{
  90. order: 3;
  91. margin: 0;
  92. font-size: 1.8rem;
  93. font-weight: 900;
  94. }
  95. h2{
  96. order: 3;
  97. margin: 0;
  98. font-size: 1.3rem;
  99. font-weight: 900;
  100. }
  101. .first-row{
  102. order: 1;
  103. display:flex;
  104. flex-direction: row;
  105. align-items: end;
  106. padding-bottom: 0.5rem;
  107. .field--name-field-numero-site {
  108. order: 1;
  109. text-transform: uppercase;
  110. font-size: 1rem;
  111. display: inline-flex;
  112. &::after{
  113. content: '|';
  114. padding-left: 1rem;
  115. padding-right: 1rem;
  116. }
  117. }
  118. .field--name-field-adresse-site{
  119. order: 3;
  120. font-size: 1.2rem;
  121. .field__item{
  122. display: flex;
  123. }
  124. .address{
  125. margin: 0;
  126. display: inline-flex;
  127. .postal-code{
  128. order: 2;
  129. }
  130. .locality{
  131. order: 1;
  132. text-transform: capitalize;
  133. margin-right: 0.5rem;
  134. }
  135. .country{
  136. display: none;
  137. }
  138. }
  139. }
  140. }
  141. .field--name-field-date-de-construction{
  142. order: 5;
  143. font-size: 1.2rem;
  144. }
  145. .field--name-field-architecte{
  146. order: 4;
  147. padding-top: 0.5rem;
  148. font-size: 1.2rem;
  149. .field__items{
  150. display: flex;
  151. flex-direction: row;
  152. flex-wrap: wrap;
  153. .field__item{
  154. display: inline;
  155. &::after{
  156. content:',';
  157. padding-right: 0.5rem;
  158. }
  159. }
  160. }
  161. .field__item:last-of-type::after {
  162. content: '';
  163. }
  164. }
  165. ul.links{
  166. order: 5;
  167. text-transform: uppercase;
  168. padding: 0;
  169. margin: 0;
  170. border: none;
  171. padding-bottom: 2rem;
  172. padding-top: 0.9rem;
  173. display: inline-flex;
  174. &::after{
  175. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  176. padding-left: 0.5rem;
  177. }
  178. }
  179. }
  180. .body-content-site{
  181. order: 3;
  182. top: -60px;
  183. position: relative;
  184. width: 50%;
  185. margin: auto;
  186. font-size: 1.3rem;
  187. }
  188. }
  189. }
  190. }
  191. }