node-site.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .page-node-site{
  2. .block-region-first{
  3. .block-entity-fieldnodefield-fichiers{
  4. width: 80%;
  5. margin: auto;
  6. }
  7. }
  8. .region-content{
  9. width: 80%;
  10. margin: auto;
  11. #block-reha-titredepage{
  12. display: none;
  13. // background-color: white;
  14. // width: 25vw;
  15. // padding-top: 1rem;
  16. // padding-left: 1rem;
  17. // padding-right: 1rem;
  18. // font-size: 0.8rem;
  19. // h1{
  20. // margin: 0 ;
  21. // }
  22. }
  23. .node-type-site{
  24. margin: auto;
  25. display: flex;
  26. flex-direction: column;
  27. .image-site{
  28. order: 2;
  29. top: -150px;
  30. position: relative;
  31. .field--name-field-image{
  32. // position: relative;
  33. // order: 2;
  34. width: 80%;
  35. margin: auto;
  36. // max-width: 100%;
  37. .field__item{
  38. display: flex;
  39. flex-direction: row;
  40. img{
  41. width: 100%;
  42. object-fit: cover;
  43. height: auto;
  44. }
  45. blockquote{
  46. align-self: flex-end;
  47. font-style: italic;
  48. margin: 0;
  49. width: 20%;
  50. p{
  51. margin: 0;
  52. padding-left: 1rem;
  53. }
  54. }
  55. }
  56. }
  57. }
  58. .filtered-content{
  59. z-index: 99;
  60. background-color: $white-button;
  61. width: 25vw;
  62. order: 1;
  63. display: flex;
  64. flex-direction: column;
  65. padding-left: 1rem;
  66. padding-right: 1rem;
  67. padding-bottom: 4rem;
  68. padding-top: 1rem;
  69. h1{
  70. order: 2;
  71. margin: 0;
  72. font-size: 1.3rem;
  73. font-weight: 900;
  74. }
  75. h2{
  76. order: 2;
  77. margin: 0;
  78. font-size: 1.3rem;
  79. font-weight: 900;
  80. }
  81. .field--name-field-numero-site {
  82. order: 1;
  83. text-transform: uppercase;
  84. font-size: 1.5rem;
  85. }
  86. .field--name-field-adresse-site{
  87. order: 3;
  88. font-size: 1rem;
  89. line-height: 1.3rem;
  90. .address{
  91. margin: 0;
  92. display: inline-flex;
  93. .postal-code{
  94. order: 2;
  95. }
  96. .locality{
  97. order: 1;
  98. text-transform: capitalize;
  99. margin-right: 0.5rem;
  100. }
  101. .country{
  102. display: none;
  103. }
  104. }
  105. }
  106. .field--name-field-date-de-construction{
  107. order: 5;
  108. }
  109. .field--name-field-architecte{
  110. order: 4;
  111. padding-top: 1rem;
  112. }
  113. ul.links{
  114. order: 5;
  115. text-transform: uppercase;
  116. padding: 0;
  117. margin: 0;
  118. border: none;
  119. padding-bottom: 2rem;
  120. padding-top: 0.9rem;
  121. display: inline-flex;
  122. &::after{
  123. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  124. padding-left: 0.5rem;
  125. }
  126. }
  127. }
  128. }
  129. }
  130. }