_home-view-sites.scss 10 KB

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