25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

221 lines
3.9 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .quick-facts {
  4. position: relative;
  5. margin: var(--section-margin) 0;
  6. .container {
  7. position: relative;
  8. > h2, h3, h4 {
  9. position: absolute;
  10. left: 0;
  11. right: 0;
  12. top: 0;
  13. text-align: center;
  14. text-transform: uppercase;
  15. font-size: var(--font-size-xs);
  16. line-height: 1;
  17. z-index: 1;
  18. font-weight: 400;
  19. font-family: "Source Code Pro", sans-serif;
  20. margin-top: 30px;
  21. @media(max-width: 567px) {
  22. margin-top: 20px;
  23. }
  24. }
  25. }
  26. .slider {
  27. position: relative;
  28. display: block;
  29. text-align: center;
  30. background-color: var(--theme-color-primary-dimmed-04);
  31. overflow: hidden;
  32. @media(max-width: 767px) {
  33. margin: 0 -20px;
  34. }
  35. &:before {
  36. content: "";
  37. position: absolute;
  38. width: 374px;
  39. height: 374px;
  40. background-color: #9AD7A3;
  41. top: 50%;
  42. left: 50%;
  43. border-radius: 50%;
  44. transform: translate(-50%, -50%);
  45. @media(max-width: 567px) {
  46. width: 110vw;
  47. height: 110vw;
  48. }
  49. }
  50. }
  51. .slide {
  52. position: relative;
  53. min-height: 400px;
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. @media(max-width: 567px) {
  58. min-height: 100vw;
  59. }
  60. }
  61. .counter {
  62. display: inline-block;
  63. font-size: 180px;
  64. line-height: 1;
  65. font-family: "Korb", sans-serif;
  66. font-weight: 700;
  67. text-align: left;
  68. padding-left: 0.05em;
  69. @media(max-width: 999px) {
  70. font-size: calc(10vw + 50px);
  71. }
  72. }
  73. .fact-label {
  74. display: block;
  75. padding: 10px 20px 0;
  76. line-height: 1.4;
  77. @media(min-width: 768px) {
  78. padding-left: 60px;
  79. padding-right: 60px;
  80. }
  81. }
  82. .like-h4 {
  83. max-width: 60%;
  84. text-align: center;
  85. margin: 40px auto;
  86. @media(max-width: 999px) {
  87. max-width: 80%;
  88. padding: 0 20px;
  89. }
  90. @media(max-width: 767px) {
  91. max-width: 100%;
  92. padding: 0 20px;
  93. }
  94. }
  95. button {
  96. border: 0;
  97. background-color: transparent;
  98. padding: 0;
  99. cursor: pointer;
  100. }
  101. .slider-tabs, .tabs {
  102. position: absolute;
  103. bottom: 0;
  104. left: 50%;
  105. right: 0;
  106. padding: 0;
  107. list-style: none;
  108. transform: translate(-50%, 0);
  109. text-align: center;
  110. font-size: 0;
  111. line-height: 0;
  112. margin: 20px 0;
  113. @media(max-width: 567px) {
  114. margin-bottom: 12px;
  115. }
  116. li {
  117. display: inline-block;
  118. vertical-align: top;
  119. &.active button:before {
  120. background-color: var(--theme-color-primary);
  121. box-shadow: 0 0 0 2px var(--theme-color-primary);
  122. }
  123. }
  124. .btn {
  125. --button-min-size: 24px;
  126. font-size: 0;
  127. line-height: 0;
  128. display: flex;
  129. align-items: center;
  130. justify-content: center;
  131. &::before {
  132. content: "";
  133. position: relative;
  134. display: block;
  135. width: 10px;
  136. height: 10px;
  137. border: 2px solid var(--theme-color-primary);
  138. border-radius: 5px;
  139. transition: 0.2s ease;
  140. }
  141. &::after {
  142. display: none;
  143. }
  144. &:hover {
  145. background-color: transparent;
  146. &::before {
  147. background-color: var(--theme-color-primary);
  148. }
  149. }
  150. }
  151. }
  152. .prev, .next {
  153. position: absolute;
  154. top: 50%;
  155. width: 50px;
  156. height: 50px;
  157. text-align: center;
  158. line-height: 50px;
  159. right: 0;
  160. margin: -25px 10px;
  161. color: var(--theme-color-primary);
  162. @media(max-width: 767px) {
  163. display: none;
  164. }
  165. &:before {
  166. @include icon-small-arrow-right-simple;
  167. font-family: "Icons", sans-serif;
  168. font-size: 30px;
  169. }
  170. }
  171. .prev {
  172. left: 0;
  173. transform: rotate(180deg);
  174. }
  175. .count {
  176. position: absolute;
  177. bottom: 0;
  178. left: 0;
  179. right: 0;
  180. text-align: center;
  181. font-size: 18px;
  182. padding-bottom: 20px;
  183. font-family: var(--font-korb);
  184. visibility: hidden;
  185. span {
  186. margin: 0 5px;
  187. }
  188. }
  189. }