_home-view-sites.scss 8.2 KB

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