home-view-sites.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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: 15%;
  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. display: grid;
  40. grid-template-rows: repeat(12, 1fr);
  41. grid-template-columns: repeat(12, 1fr);
  42. @media(max-width: 891px){
  43. width: 100%;
  44. display: flex;
  45. flex-direction: column;
  46. }
  47. .image-site{
  48. order: 1;
  49. grid-row: 1/span 10;
  50. grid-column: 2/span 10;
  51. width: 100%;
  52. img {
  53. max-height: 600px;
  54. width: 100%;
  55. object-fit: contain;
  56. }
  57. }
  58. .infos-content-site{
  59. background-color: $white-button;
  60. width: 20vw;
  61. order: 2;
  62. display: flex;
  63. flex-direction: column;
  64. grid-row: 7/span 5;
  65. grid-column: 10/span 10;
  66. padding: 1rem;
  67. z-index: 99;
  68. @media(max-width: 891px){
  69. width: auto;
  70. }
  71. h1{display: none;}
  72. h2{
  73. order: 3;
  74. margin: 0;
  75. font-size: 1.8rem;
  76. font-weight: 1000;
  77. @media(max-width: 891px){
  78. font-size: 1.2rem;
  79. line-height: 1.3rem;
  80. }
  81. }
  82. .first-row{
  83. order: 1;
  84. display:flex;
  85. flex-direction: row;
  86. align-items: end;
  87. padding-bottom: 0.5rem;
  88. .field--name-field-numero-site {
  89. order: 1;
  90. text-transform: uppercase;
  91. font-size: 1rem;
  92. display: inline-flex;
  93. &::after{
  94. content: '|';
  95. padding-left: 1rem;
  96. padding-right: 1rem;
  97. }
  98. }
  99. .field--name-field-adresse-site{
  100. order: 3;
  101. font-size: 1.2rem;
  102. .field__item{
  103. display: flex;
  104. }
  105. .field__item{
  106. display: flex;
  107. }
  108. .address{
  109. margin: 0;
  110. display: inline-flex;
  111. .postal-code{
  112. order: 2;
  113. }
  114. .locality{
  115. order: 1;
  116. text-transform: capitalize;
  117. margin-right: 0.5rem;
  118. }
  119. .country{
  120. display: none;
  121. }
  122. }
  123. }
  124. }
  125. .field--name-field-architecte{
  126. order: 4;
  127. font-size: 1.4rem;
  128. padding-top: 0.5rem;
  129. .field__items{
  130. display: flex;
  131. flex-direction: row;
  132. flex-wrap: wrap;
  133. .field__item{
  134. display: inline;
  135. &::after{
  136. content:',';
  137. padding-right: 0.5rem;
  138. }
  139. }
  140. }
  141. .field__item:last-of-type::after {
  142. content: '';
  143. }
  144. }
  145. }
  146. }
  147. }
  148. }
  149. .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{
  150. width: fit-content;
  151. margin: auto;
  152. z-index: 99;
  153. // position: relative;
  154. // top: -10px;
  155. margin-top: 2rem;
  156. }
  157. }