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.
 
 
 
 

155 regels
2.6 KiB

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