The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

154 line
2.6 KiB

  1. .introduction {
  2. display: flex;
  3. flex-direction: column;
  4. justify-content: center;
  5. align-items: center;
  6. @media screen and (max-width: 920px) {
  7. background: darken($ui-base-color, 8%);
  8. display: block !important;
  9. }
  10. &__pager {
  11. background: darken($ui-base-color, 8%);
  12. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  13. overflow: hidden;
  14. }
  15. &__pager,
  16. &__frame {
  17. border-radius: 10px;
  18. width: 50vw;
  19. min-width: 920px;
  20. @media screen and (max-width: 920px) {
  21. min-width: 0;
  22. width: 100%;
  23. border-radius: 0;
  24. box-shadow: none;
  25. }
  26. }
  27. &__frame-wrapper {
  28. opacity: 0;
  29. transition: opacity 500ms linear;
  30. &.active {
  31. opacity: 1;
  32. transition: opacity 50ms linear;
  33. }
  34. }
  35. &__frame {
  36. overflow: hidden;
  37. }
  38. &__illustration {
  39. height: 50vh;
  40. @media screen and (max-width: 630px) {
  41. height: auto;
  42. }
  43. img {
  44. object-fit: cover;
  45. display: block;
  46. margin: 0;
  47. width: 100%;
  48. height: 100%;
  49. }
  50. }
  51. &__text {
  52. border-top: 2px solid $ui-highlight-color;
  53. &--columnized {
  54. display: flex;
  55. & > div {
  56. flex: 1 1 33.33%;
  57. text-align: center;
  58. padding: 25px;
  59. padding-bottom: 30px;
  60. }
  61. @media screen and (max-width: 630px) {
  62. display: block;
  63. padding: 15px 0;
  64. padding-bottom: 20px;
  65. & > div {
  66. padding: 10px 25px;
  67. }
  68. }
  69. }
  70. h3 {
  71. font-size: 24px;
  72. line-height: 1.5;
  73. font-weight: 700;
  74. margin-bottom: 10px;
  75. }
  76. p {
  77. font-size: 16px;
  78. line-height: 24px;
  79. font-weight: 400;
  80. color: $darker-text-color;
  81. code {
  82. display: inline-block;
  83. background: darken($ui-base-color, 8%);
  84. font-size: 15px;
  85. border: 1px solid lighten($ui-base-color, 8%);
  86. border-radius: 2px;
  87. padding: 1px 3px;
  88. }
  89. }
  90. &--centered {
  91. padding: 25px;
  92. padding-bottom: 30px;
  93. text-align: center;
  94. }
  95. }
  96. &__dots {
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. padding: 25px;
  101. @media screen and (max-width: 630px) {
  102. display: none;
  103. }
  104. }
  105. &__dot {
  106. width: 14px;
  107. height: 14px;
  108. border-radius: 14px;
  109. border: 1px solid $ui-highlight-color;
  110. background: transparent;
  111. margin: 0 3px;
  112. cursor: pointer;
  113. &:hover {
  114. background: lighten($ui-base-color, 8%);
  115. }
  116. &.active {
  117. cursor: default;
  118. background: $ui-highlight-color;
  119. }
  120. }
  121. &__action {
  122. padding: 25px;
  123. padding-top: 0;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. }
  128. }