footer.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. footer{
  2. background: white;
  3. border-top: 1px solid black;
  4. width: 100%;
  5. height: auto;
  6. // padding: 2rem 0 0 0;
  7. margin-top:2rem;
  8. .container{
  9. max-width: 90vw;
  10. }
  11. & > .d-flex{
  12. & > div{
  13. margin-bottom: 1.5rem;
  14. padding-top: 2rem;
  15. padding-left: 2rem !important;
  16. padding-right: 2rem !important;
  17. }
  18. & > div:not(:last-of-type){
  19. border-right: 1px solid black;
  20. @media screen and (min-width: 300px) {
  21. border-right: none;
  22. }
  23. }
  24. }
  25. @media (min-width: 992px) {
  26. .d-lg-block {
  27. display: block !important;
  28. }
  29. }
  30. #block-renderedsitesettingsblock-5{
  31. max-width: 30%;
  32. @media screen and (max-width: 550px) {
  33. max-width: 80%;
  34. }
  35. div.site_setting_entity div.grid{
  36. display: grid;
  37. grid-template-columns: 1fr 1fr;
  38. @media (max-width: 992px){
  39. display: flex;
  40. flex-direction: row ;
  41. flex-wrap: wrap;
  42. }
  43. div:nth-of-type(1){
  44. grid-column: 1;
  45. grid-row: 1 / span 3;
  46. }
  47. div:nth-of-type(2){
  48. grid-column: 2;
  49. grid-row: 1;
  50. }
  51. div:nth-of-type(3){
  52. grid-column: 2;
  53. grid-row: 2;
  54. margin-left: 1rem;
  55. a{
  56. img{
  57. width: 90%;
  58. margin: auto;
  59. }
  60. }
  61. }
  62. div:nth-of-type(4){
  63. grid-column: 2;
  64. grid-row: 3;
  65. margin-top: 2rem;
  66. margin-left: 1rem;
  67. a{
  68. img{
  69. width: 60%;
  70. }
  71. }
  72. }
  73. @media screen and (max-width: 300px) {
  74. display: flex;
  75. flex-direction: column;
  76. }
  77. }
  78. // & > div{
  79. // // display: flex;
  80. // // flex-wrap: nowrap;
  81. // @media screen and (min-width: 768px) {
  82. // display:block;
  83. // }
  84. // & > div{
  85. // // width: calc((100% / 3) - #{$gutter});
  86. // @media screen and (min-width: 768px) {
  87. // width: calc((100% / 2) - #{$gutter});
  88. // max-width: 200px;
  89. // margin-bottom: 2rem;
  90. // }
  91. // // &:first-child{
  92. // // margin-right: $gutter;
  93. // }
  94. // }
  95. // }
  96. }
  97. #block-renderedsitesettingsblock-4{
  98. @media (min-width: 992px) {
  99. .d-lg-block {
  100. display: block !important;
  101. }
  102. }
  103. .site_setting_entity{
  104. & > div{
  105. margin: 1rem 0;
  106. &:first-child{
  107. &::after,&:before{
  108. margin: 0.5rem 0;
  109. display: block;
  110. content: " ";
  111. width: 1rem;
  112. height: 1px;
  113. background: black;
  114. }
  115. }
  116. }
  117. .sub-title{
  118. font-size: 1rem;
  119. }
  120. .d-flex{
  121. margin-top: 1rem;
  122. & > div{
  123. width: 30px;
  124. margin-right: 1rem;
  125. }
  126. }
  127. }
  128. }
  129. .site_setting_entity{
  130. img{
  131. height: auto;
  132. }
  133. }
  134. & > div{
  135. display: flex;
  136. flex-wrap: nowrap;
  137. .__slide{
  138. .flickity-slider{
  139. & > div{
  140. width: max-content;
  141. margin: 0 1rem;
  142. img{
  143. width: auto!important;
  144. height: 100px;
  145. max-width: 70px;
  146. object-fit: contain;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. #block-renderedsitesettingsblock-3{
  153. display: none;
  154. }
  155. }