1
0

_home-view-sites.scss 10 KB

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