_home-view-sites.scss 8.1 KB

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