home-view-sites.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .home-page-layout-content {
  2. .block-block-content3bb825b3-ab84-4861-a4f2-2a5e5eed74de{
  3. border: solid $yellow-puca 1px;
  4. background-color: $white-button;
  5. font-weight: 1000;
  6. padding: 2rem;
  7. margin-right: 1rem;
  8. width: 16vw;
  9. margin-left: 12%;
  10. padding-top: 1rem;
  11. padding-left: 2rem;
  12. padding-bottom: 5rem;
  13. @media(max-width: 891px){
  14. margin-bottom: 1rem;
  15. margin-top: 2rem;
  16. width: 50%;
  17. // margin: auto;
  18. }
  19. p{
  20. margin: 0;
  21. font-size: 1.3rem;
  22. }
  23. strong{
  24. font-size: 1.5rem;
  25. }
  26. }
  27. .block-views-blocksites-block-1 {
  28. top: -44px;
  29. position: relative;
  30. height: 550px;
  31. .views-row{
  32. @media(max-width: 891px){
  33. margin-left: 1.8rem;
  34. margin-right: 1.8rem;
  35. }
  36. .node-type-site{
  37. width: 70%;
  38. margin: auto;
  39. .entete_site{
  40. background-color: white;
  41. height: 520px;
  42. width: 1274px;
  43. display: flex;
  44. flex-direction: row;
  45. margin: auto;
  46. @media(max-width: 891px){
  47. width: 100%;
  48. display: flex;
  49. flex-direction: column;
  50. }
  51. .image-site{
  52. order: 1;
  53. .field__item{
  54. display: flex;
  55. flex-direction:column;
  56. align-items: flex-end;
  57. img {
  58. height: 520px;
  59. width: auto;
  60. object-fit: contain;
  61. }
  62. blockquote{
  63. position: relative;
  64. font-style: italic;
  65. margin: 0;
  66. width: 20vw;
  67. z-index: 900;
  68. left: 20vw;
  69. top: -50px;
  70. p{
  71. margin: 0;
  72. padding-left: 1rem;
  73. }
  74. }
  75. }
  76. }
  77. .infos-content-site{
  78. background-color: $white-button;
  79. width: 20vw;
  80. height: 400px;
  81. order: 2;
  82. display: flex;
  83. flex-direction: column;
  84. margin: auto;
  85. padding: 1rem;
  86. z-index: 99;
  87. position: relative;
  88. justify-content: center;
  89. @media(max-width: 891px){
  90. width: auto;
  91. }
  92. h1{display: none;}
  93. h2{
  94. order: 3;
  95. margin: 0;
  96. font-size: 1.8rem;
  97. font-weight: 1000;
  98. @media(max-width: 891px){
  99. font-size: 1.2rem;
  100. line-height: 1.3rem;
  101. }
  102. }
  103. .first-row{
  104. order: 1;
  105. display:flex;
  106. flex-direction: row;
  107. align-items: end;
  108. padding-bottom: 0.5rem;
  109. .field--name-field-numero-site {
  110. order: 1;
  111. text-transform: uppercase;
  112. font-size: 1rem;
  113. display: inline-flex;
  114. &::after{
  115. content: '|';
  116. padding-left: 1rem;
  117. padding-right: 1rem;
  118. }
  119. }
  120. .field--name-field-adresse-site{
  121. order: 3;
  122. font-size: 1.2rem;
  123. .field__item{
  124. display: flex;
  125. }
  126. .field__item{
  127. display: flex;
  128. }
  129. .address{
  130. margin: 0;
  131. display: inline-flex;
  132. .postal-code{
  133. order: 2;
  134. }
  135. .locality{
  136. order: 1;
  137. text-transform: capitalize;
  138. margin-right: 0.5rem;
  139. }
  140. .country{
  141. display: none;
  142. }
  143. }
  144. }
  145. }
  146. .field--name-field-architecte{
  147. order: 4;
  148. font-size: 1.4rem;
  149. padding-top: 0.5rem;
  150. .field__items{
  151. display: flex;
  152. flex-direction: row;
  153. flex-wrap: wrap;
  154. .field__item{
  155. display: inline;
  156. &::after{
  157. content:',';
  158. padding-right: 0.5rem;
  159. }
  160. }
  161. }
  162. .field__item:last-of-type::after {
  163. content: '';
  164. }
  165. }
  166. }
  167. }
  168. }
  169. }
  170. }
  171. .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{
  172. width: fit-content;
  173. margin: auto;
  174. z-index: 99;
  175. // position: relative;
  176. // top: -10px;
  177. margin-top: 1rem;
  178. margin-bottom: 4rem;
  179. }
  180. }