node-site.scss 8.3 KB

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