node-site.scss 4.2 KB

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