_home-view-sites.scss 9.4 KB

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