welcome.css 7.4 KB

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