home-view-sites.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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: 800;
  6. padding: 2rem;
  7. margin-right: 1rem;
  8. width: 20%;
  9. margin-left: 12%;
  10. padding-top: 0.5rem;
  11. padding-left: 0.5rem;
  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{margin: 0;}
  20. strong{
  21. font-size: 1.3rem;
  22. }
  23. }
  24. .block-views-blocksites-block-1 {
  25. top: -60px;
  26. position: relative;
  27. height: 550px;
  28. .views-row{
  29. @media(max-width: 891px){
  30. margin-left: 1.8rem;
  31. margin-right: 1.8rem;
  32. }
  33. .node-type-site{
  34. width: 70%;
  35. margin: auto;
  36. display: grid;
  37. grid-template-rows: repeat(12, 1fr);
  38. grid-template-columns: repeat(12, 1fr);
  39. @media(max-width: 891px){
  40. width: 100%;
  41. display: flex;
  42. flex-direction: column;
  43. }
  44. .image-site{
  45. order: 1;
  46. grid-row: 1/span 10;
  47. grid-column: 2/span 9;
  48. width: 100%;
  49. img {
  50. // width: 70%;
  51. // // object-fit: cover;
  52. // height: auto;
  53. height: 500px;
  54. width: auto;
  55. }
  56. }
  57. .filtered-content{
  58. // border: solid $yellow-puca 1px;
  59. background-color: $white-button;
  60. width: 80%;
  61. order: 2;
  62. display: flex;
  63. flex-direction: column;
  64. grid-row: 7/span 5;
  65. grid-column: 7/span 9;
  66. padding: 1rem;
  67. z-index: 99;
  68. @media(max-width: 891px){
  69. width: auto;
  70. }
  71. h1{display: none;}
  72. h2{
  73. order: 2;
  74. margin: 0;
  75. @media(max-width: 891px){
  76. font-size: 1.2rem;
  77. line-height: 1.3rem;
  78. }
  79. }
  80. .field--name-field-numero-site {
  81. order: 1;
  82. text-transform: uppercase;
  83. font-size: 2rem;
  84. @media(max-width: 891px){
  85. font-size: 1.5rem;
  86. }
  87. }
  88. .field--name-field-adresse-site{
  89. order: 3;
  90. font-size: 1.5rem;
  91. @media(max-width: 891px){
  92. font-size: 1rem;
  93. line-height: 0.6rem;
  94. padding-bottom: 0.3rem;
  95. }
  96. .address{
  97. margin: 0;
  98. display: inline-flex;
  99. .postal-code{
  100. order: 2;
  101. }
  102. .locality{
  103. order: 1;
  104. text-transform: capitalize;
  105. margin-right: 0.5rem;
  106. }
  107. .country{
  108. display: none;
  109. }
  110. }
  111. }
  112. .field--name-field-architecte{
  113. order: 4;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{
  120. width: fit-content;
  121. margin: auto;
  122. z-index: 99;
  123. position: relative;
  124. }
  125. }