home-view-sites.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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: 0.5rem;
  11. padding-left: 0.8rem;
  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: -60px;
  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. @media(max-width: 891px){
  46. width: 100%;
  47. display: flex;
  48. flex-direction: column;
  49. }
  50. .image-site{
  51. order: 1;
  52. .field__item{
  53. display: flex;
  54. flex-direction:column;
  55. align-items: flex-end;
  56. img {
  57. height: 520px;
  58. width: auto;
  59. object-fit: contain;
  60. }
  61. blockquote{
  62. position: relative;
  63. font-style: italic;
  64. margin: 0;
  65. width: 20vw;
  66. z-index: 900;
  67. left: 20vw;
  68. top: -50px;
  69. p{
  70. margin: 0;
  71. padding-left: 1rem;
  72. }
  73. }
  74. }
  75. }
  76. .infos-content-site{
  77. background-color: $white-button;
  78. width: 20vw;
  79. height: 400px;
  80. order: 2;
  81. display: flex;
  82. flex-direction: column;
  83. margin: auto;
  84. padding: 1rem;
  85. z-index: 99;
  86. position: relative;
  87. justify-content: center;
  88. @media(max-width: 891px){
  89. width: auto;
  90. }
  91. h1{display: none;}
  92. h2{
  93. order: 3;
  94. margin: 0;
  95. font-size: 1.8rem;
  96. font-weight: 1000;
  97. @media(max-width: 891px){
  98. font-size: 1.2rem;
  99. line-height: 1.3rem;
  100. }
  101. }
  102. .first-row{
  103. order: 1;
  104. display:flex;
  105. flex-direction: row;
  106. align-items: end;
  107. padding-bottom: 0.5rem;
  108. .field--name-field-numero-site {
  109. order: 1;
  110. text-transform: uppercase;
  111. font-size: 1rem;
  112. display: inline-flex;
  113. &::after{
  114. content: '|';
  115. padding-left: 1rem;
  116. padding-right: 1rem;
  117. }
  118. }
  119. .field--name-field-adresse-site{
  120. order: 3;
  121. font-size: 1.2rem;
  122. .field__item{
  123. display: flex;
  124. }
  125. .field__item{
  126. display: flex;
  127. }
  128. .address{
  129. margin: 0;
  130. display: inline-flex;
  131. .postal-code{
  132. order: 2;
  133. }
  134. .locality{
  135. order: 1;
  136. text-transform: capitalize;
  137. margin-right: 0.5rem;
  138. }
  139. .country{
  140. display: none;
  141. }
  142. }
  143. }
  144. }
  145. .field--name-field-architecte{
  146. order: 4;
  147. font-size: 1.4rem;
  148. padding-top: 0.5rem;
  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. }
  166. }
  167. }
  168. }
  169. }
  170. .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{
  171. width: fit-content;
  172. margin: auto;
  173. z-index: 99;
  174. // position: relative;
  175. // top: -10px;
  176. margin-top: 1rem;
  177. margin-bottom: 4rem;
  178. }
  179. }