node-site.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. height: 520px;
  62. width: 771px;
  63. order: 1;
  64. // top: -115px;
  65. // position: relative;
  66. .field--name-field-image{
  67. width: 100%;
  68. margin: auto;
  69. .slick-dots{z-index: 999;}
  70. .slick-list{
  71. padding: 0 !important;
  72. .field__item{
  73. display: flex;
  74. flex-direction:column;
  75. align-items: flex-end;
  76. img{
  77. height: 520px;
  78. width: auto;
  79. object-fit: contain;
  80. }
  81. blockquote{
  82. // position: relative;
  83. font-style: italic;
  84. margin: 0;
  85. // width: 20vw;
  86. // z-index: 900;
  87. // left: 20vw;
  88. // top: -50px;
  89. p{
  90. margin: 0;
  91. padding-left: 1rem;
  92. }
  93. }
  94. }
  95. }
  96. }
  97. }
  98. .infos-content-site{
  99. background-color: $white-button;
  100. width: 20vw;
  101. height: 400px;
  102. order: 2;
  103. display: flex;
  104. flex-direction: column;
  105. margin: auto;
  106. padding: 1rem;
  107. z-index: 99;
  108. position: relative;
  109. justify-content: center;
  110. @media(max-width: 891px){
  111. width: auto;
  112. }
  113. h1{
  114. order: 3;
  115. margin: 0;
  116. font-size: 1.8rem;
  117. font-weight: 900;
  118. }
  119. h2{
  120. order: 3;
  121. margin: 0;
  122. font-size: 1.3rem;
  123. font-weight: 900;
  124. }
  125. .first-row{
  126. order: 1;
  127. display:flex;
  128. flex-direction: row;
  129. align-items: end;
  130. padding-bottom: 0.5rem;
  131. .field--name-field-numero-site {
  132. order: 1;
  133. text-transform: uppercase;
  134. font-size: 1rem;
  135. display: inline-flex;
  136. &::after{
  137. content: '|';
  138. padding-left: 1rem;
  139. padding-right: 1rem;
  140. }
  141. }
  142. .field--name-field-adresse-site{
  143. order: 3;
  144. font-size: 1.2rem;
  145. .field__item{
  146. display: flex;
  147. }
  148. .address{
  149. margin: 0;
  150. display: inline-flex;
  151. .postal-code{
  152. order: 2;
  153. }
  154. .locality{
  155. order: 1;
  156. text-transform: capitalize;
  157. margin-right: 0.5rem;
  158. }
  159. .country{
  160. display: none;
  161. }
  162. }
  163. }
  164. }
  165. .field--name-field-date-de-construction{
  166. order: 5;
  167. font-size: 1.2rem;
  168. }
  169. .field--name-field-architecte{
  170. order: 4;
  171. padding-top: 0.5rem;
  172. font-size: 1.2rem;
  173. .field__items{
  174. display: flex;
  175. flex-direction: row;
  176. flex-wrap: wrap;
  177. .field__item{
  178. display: inline;
  179. &::after{
  180. content:',';
  181. padding-right: 0.5rem;
  182. }
  183. }
  184. }
  185. .field__item:last-of-type::after {
  186. content: '';
  187. }
  188. }
  189. ul.links{
  190. order: 5;
  191. text-transform: uppercase;
  192. padding: 0;
  193. margin: 0;
  194. border: none;
  195. padding-bottom: 2rem;
  196. padding-top: 0.9rem;
  197. display: inline-flex;
  198. &::after{
  199. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  200. padding-left: 0.5rem;
  201. }
  202. }
  203. }
  204. }
  205. .body-content-site{
  206. order: 3;
  207. // top: -60px;
  208. padding-top: 4rem;
  209. position: relative;
  210. width: 50%;
  211. margin: auto;
  212. font-size: 1.3rem;
  213. }
  214. }
  215. }
  216. }
  217. }