home-view-sites.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. }
  55. }
  56. .filtered-content{
  57. // border: solid $yellow-puca 1px;
  58. background-color: $white-button;
  59. width: 80%;
  60. order: 2;
  61. display: flex;
  62. flex-direction: column;
  63. grid-row: 7/span 5;
  64. grid-column: 7/span 9;
  65. padding: 1rem;
  66. @media(max-width: 891px){
  67. width: auto;
  68. }
  69. h2{
  70. order: 2;
  71. margin: 0;
  72. @media(max-width: 891px){
  73. font-size: 1.2rem;
  74. line-height: 1.3rem;
  75. }
  76. }
  77. .field--name-field-numero-site {
  78. order: 1;
  79. text-transform: uppercase;
  80. font-size: 2rem;
  81. @media(max-width: 891px){
  82. font-size: 1.5rem;
  83. }
  84. }
  85. .field--name-field-adresse-site{
  86. order: 3;
  87. font-size: 1.5rem;
  88. @media(max-width: 891px){
  89. font-size: 1rem;
  90. line-height: 0.6rem;
  91. padding-bottom: 0.3rem;
  92. }
  93. .address{
  94. margin: 0;
  95. display: inline-flex;
  96. .postal-code{
  97. order: 2;
  98. }
  99. .locality{
  100. order: 1;
  101. text-transform: capitalize;
  102. margin-right: 0.5rem;
  103. }
  104. .country{
  105. display: none;
  106. }
  107. }
  108. }
  109. .field--name-field-architecte{
  110. order: 4;
  111. }
  112. }
  113. }
  114. }
  115. }
  116. .block-block-content9e601647-144f-4e8e-b9e1-7d744f9141d7{
  117. width: fit-content;
  118. margin: auto;
  119. }
  120. }