les-sites-pilotes.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. .view-display-id-page_1{
  2. display: flex;
  3. flex-direction: row;
  4. flex-wrap: wrap;
  5. // justify-content: space-between;
  6. article{
  7. padding-bottom: 0.7rem;
  8. }
  9. .views-row{
  10. width: 30%;
  11. padding: 1rem;
  12. .node-type-site{
  13. margin: auto;
  14. display: flex;
  15. flex-direction: column;
  16. width: 100%;
  17. background-color: white;
  18. .field--name-field-image{
  19. order: 1;
  20. max-width: 100%;
  21. img{
  22. width: 100%;
  23. object-fit: cover;
  24. height: fit-content;
  25. }
  26. }
  27. .filtered-content{
  28. // border: solid $yellow-puca 1px;
  29. background-color: $white-button;
  30. order: 2;
  31. display: flex;
  32. flex-direction: column;
  33. padding-left: 1rem;
  34. padding-right: 1rem;
  35. h1{display: none;}
  36. h2{
  37. order: 2;
  38. margin: 0;
  39. font-size: 1.3rem;
  40. font-weight: 900;
  41. }
  42. .field--name-field-numero-site {
  43. order: 1;
  44. text-transform: uppercase;
  45. font-size: 1.5rem;
  46. }
  47. .field--name-field-adresse-site{
  48. order: 3;
  49. font-size: 1.3rem;
  50. line-height: 0.3rem;
  51. .address{
  52. margin: 0;
  53. display: inline-flex;
  54. .postal-code{
  55. order: 2;
  56. }
  57. .locality{
  58. order: 1;
  59. text-transform: capitalize;
  60. margin-right: 0.5rem;
  61. }
  62. .country{
  63. display: none;
  64. }
  65. }
  66. }
  67. .field--name-field-architecte{
  68. order: 4;
  69. padding-top: 1rem;
  70. }
  71. ul.links{
  72. order: 5;
  73. text-transform: uppercase;
  74. padding: 0;
  75. margin: 0;
  76. border: none;
  77. padding-bottom: 2rem;
  78. padding-top: 0.9rem;
  79. display: inline-flex;
  80. &::after{
  81. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  82. padding-left: 0.5rem;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. footer{
  89. background-color: transparent;
  90. text-transform: capitalize;
  91. p:first-of-type{
  92. font-size: 2rem;
  93. }
  94. .view-display-id-block_2{
  95. display: flex;
  96. flex-direction: row;
  97. flex-wrap: wrap;
  98. .views-row{
  99. width: 30%;
  100. padding: 1rem;
  101. .node-type-site{
  102. margin: auto;
  103. display: flex;
  104. flex-direction: column;
  105. width: 100%;
  106. background-color: white;
  107. .filtered-content{
  108. // border: solid $yellow-puca 1px;
  109. background-color: $white-button;
  110. order: 2;
  111. display: flex;
  112. flex-direction: column;
  113. padding-left: 1rem;
  114. padding-right: 1rem;
  115. h2{
  116. order: 2;
  117. margin: 0;
  118. font-size: 1.3rem;
  119. font-weight: 900;
  120. }
  121. .field--name-field-lettre-de-site {
  122. order: 1;
  123. text-transform: uppercase;
  124. font-size: 1.5rem;
  125. font-weight: 200;
  126. }
  127. .field--name-field-adresse-site{
  128. order: 3;
  129. line-height: 1.2rem;
  130. font-weight: 400;
  131. p.address{
  132. margin: 0;
  133. display: inline-flex;
  134. font-size: 1.3rem;
  135. .postal-code{
  136. order: 2;
  137. }
  138. .locality{
  139. order: 1;
  140. text-transform: capitalize;
  141. margin-right: 0.5rem;
  142. }
  143. .country{
  144. display: none;
  145. }
  146. }
  147. }
  148. .field--name-field-architecte{
  149. order: 4;
  150. padding-top: 1rem;
  151. text-transform: capitalize;
  152. font-weight: 400;
  153. }
  154. ul.links{
  155. order: 5;
  156. text-transform: uppercase;
  157. padding: 0;
  158. margin: 0;
  159. border: none;
  160. padding-bottom: 2rem;
  161. padding-top: 0.9rem;
  162. display: inline-flex;
  163. &::after{
  164. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  165. padding-left: 0.5rem;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }
  173. }