welcome.sass 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. @import inline-block
  2. html, body
  3. height: 100%
  4. body
  5. margin: 0
  6. font-family: "proxima-nova", "Helvetica Neue", sans-serif
  7. .button
  8. display: inline-block
  9. border: 2px solid #333
  10. color: #333
  11. padding: 1em 1.25em
  12. font-weight: 500
  13. text-transform: uppercase
  14. letter-spacing: 3px
  15. text-decoration: none
  16. cursor: pointer
  17. width: 140px
  18. font-size: .8em
  19. line-height: 1.3em
  20. text-align: center
  21. .tether-element.tether-theme-arrows-dark .tether-content
  22. padding: 1em
  23. font-size: 1.1em
  24. .button
  25. border-color: #fff
  26. color: #fff
  27. width: 170px
  28. pointer-events: all
  29. .mobile-copy
  30. display: none
  31. @media (max-width: 568px)
  32. display: block
  33. .button.dark
  34. background: #333
  35. color: #fff
  36. .hero-wrap
  37. height: 100%
  38. overflow: hidden
  39. table.showcase
  40. height: 100%
  41. width: 100%
  42. position: relative
  43. &:after
  44. content: ""
  45. display: block
  46. position: absolute
  47. left: 0
  48. right: 0
  49. bottom: 20px
  50. margin: auto
  51. height: 0
  52. width: 0
  53. border-width: 18px
  54. border-style: solid
  55. border-color: transparent
  56. border-top-color: rgba(0, 0, 0, 0.2)
  57. &.no-next-arrow:after
  58. display: none
  59. .showcase-inner
  60. margin: 40px auto 60px
  61. padding: 10px
  62. h1
  63. font-size: 50px
  64. text-align: center
  65. font-weight: 300
  66. @media (max-width: 567px)
  67. font-size: 40px
  68. h2
  69. font-size: 24px
  70. text-align: center
  71. font-weight: 300
  72. margin: 1em 0 1em
  73. @media (max-width: 567px)
  74. font-size: 14px
  75. p
  76. text-align: center
  77. &.hero
  78. text-align: center
  79. .tether-target-demo
  80. +inline-block
  81. border: 2px dotted #000
  82. margin: 5rem auto
  83. padding: 5rem
  84. @media (max-width: 567px)
  85. padding: 1rem
  86. &.share
  87. background: #f3f3f3
  88. &.projects-showcase .showcase-inner
  89. .projects-list
  90. width: 80%
  91. max-width: 1200px
  92. margin: 0 auto
  93. .project
  94. color: inherit
  95. text-decoration: none
  96. position: relative
  97. width: 50%
  98. float: left
  99. text-align: center
  100. margin-bottom: 2rem
  101. &:nth-child(odd)
  102. clear: left
  103. .os-icon
  104. width: 8rem
  105. height: 8rem
  106. margin-bottom: 1rem
  107. background-size: 100%
  108. h1
  109. font-size: 2.5rem
  110. p
  111. font-size: 1.3rem
  112. &.browser-demo
  113. background-image: linear-gradient(top left, #723362 0%, #9d223c 100%)
  114. background-color: #9d223c
  115. position: absolute
  116. top: 100%
  117. &.fixed
  118. position: fixed
  119. top: 0
  120. bottom: 0
  121. left: 0
  122. right: 0
  123. z-index: 1
  124. .browser-demo-inner
  125. transition: width 2s ease-in-out, height 2s ease-in-out
  126. // Sections
  127. &[data-section="what"]
  128. box-shadow: 0 0 0 0
  129. &[data-section="why"]
  130. .browser-demo-inner
  131. width: 70%
  132. &[data-section="outro"]
  133. .showcase-inner
  134. pointer-events: all
  135. .showcase-inner
  136. pointer-events: none
  137. position: absolute
  138. left: 10%
  139. right: 40%
  140. top: 220px
  141. bottom: 120px
  142. margin: 0
  143. padding: 0
  144. @media (max-width: 567px)
  145. bottom: 90px
  146. top: 180px
  147. .browser-demo-inner
  148. height: 100%
  149. width: 100%
  150. .section-copy
  151. transition: opacity .5s ease-in-out, top .5s ease-in-out
  152. opacity: 0
  153. position: absolute
  154. top: 0
  155. position: absolute
  156. height: 200px
  157. color: #fff
  158. text-align: center
  159. width: 100%
  160. &.active
  161. opacity: 1
  162. top: -150px
  163. @media (max-width: 567px)
  164. top: -130px
  165. h2
  166. font-size: 40px
  167. font-weight: bold
  168. line-height: 1
  169. margin: 25px 0 15px
  170. @media (max-width: 567px)
  171. font-size: 30px
  172. .browser-window
  173. border-radius: 4px
  174. background: #fff
  175. position: relative
  176. height: 100%
  177. width: 100%
  178. max-width: 1200px
  179. margin: 0 auto
  180. .browser-titlebar
  181. position: absolute
  182. top: 0
  183. left: 0
  184. right: 0
  185. border-bottom: 1px solid #eee
  186. height: 55px
  187. .browser-dots
  188. padding: 16px
  189. b
  190. +inline-block
  191. border-radius: 50%
  192. width: 10px
  193. height: 10px
  194. margin-right: 7px
  195. background: rgba(0, 0, 0, .1)
  196. .browser-frame
  197. position: absolute
  198. top: 55px
  199. left: 0
  200. right: 0
  201. bottom: 0
  202. iframe
  203. border-radius: 0 0 4px 4px
  204. border: 0
  205. width: 100%
  206. height: 100%
  207. &.browser-demo-section
  208. .section-scroll-copy
  209. position: relative
  210. z-index: 10
  211. color: #fff
  212. width: 100%
  213. font-size: 22px
  214. .section-scroll-copy-inner
  215. position: absolute
  216. z-index: 10
  217. color: #fff
  218. right: 10%
  219. width: 23%
  220. a
  221. color: inherit
  222. .example-paragraph
  223. border-radius: 4px
  224. background: #000
  225. padding: 1rem
  226. .browser-content
  227. display: none