les-sites-pilotes.scss 6.1 KB

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