style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28. display: block;
  29. }
  30. body {
  31. line-height: 1;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. /**
  49. * Structure
  50. */
  51. body {
  52. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  53. font-weight: 300;
  54. background:#fff;
  55. color: #333;
  56. font-size:15px;
  57. }
  58. h1, h2, h3, h4, h5, h6 {
  59. font-family: 'Roboto', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  60. font-weight: 300;
  61. }
  62. a,
  63. a:hover,
  64. a:active,
  65. a:visited {
  66. cursor:pointer;
  67. color:#01bcff;
  68. text-decoration:none;
  69. }
  70. a:hover {
  71. text-decoration:underline;
  72. }
  73. strong {
  74. font-weight:bold;
  75. }
  76. p {
  77. padding:10px;
  78. }
  79. ul {
  80. list-style:initial;
  81. padding:10px;
  82. }
  83. ul li {
  84. margin-left:30px;
  85. line-height: 160%;
  86. }
  87. /* Helper */
  88. .code-head,
  89. .code {
  90. font-family: Consolas, monaco, monospace;
  91. }
  92. .text-center {
  93. text-align:center;
  94. }
  95. .clear {
  96. clear:both !important;
  97. }
  98. .hide {
  99. display:none;
  100. }
  101. .shadow {
  102. box-shadow: 0 1px 1.5px 1px rgba(0,0,0,.12);
  103. -webkit-box-shadow: 0 1px 1.5px 1px rgba(0,0,0,.12);
  104. }
  105. .box {
  106. padding: 10px;
  107. background: #fff;
  108. border-radius: .2em;
  109. box-sizing: border-box;
  110. }
  111. .box h2 {
  112. font-size: 20px;
  113. margin-bottom: 10px;
  114. padding: 5px 10px;
  115. border-bottom: 1px solid #ccc;
  116. }
  117. .box .top-button {
  118. position: absolute;
  119. top: 9px;
  120. right: 10px;
  121. padding: 5px;
  122. font-size: 20px;
  123. color: #333;
  124. border: 1px solid #ccc;
  125. border-radius: 5px 5px 0 0;
  126. cursor: pointer;
  127. -webkit-transition: all 500ms;
  128. -moz-transition: all 500ms;
  129. -ms-transition: all 500ms;
  130. transition: all 500ms;
  131. }
  132. .box .top-button:hover {
  133. color: #fff;
  134. background: #01bcff;
  135. border-color: #01bcff;
  136. }
  137. .section {
  138. position: fixed;
  139. width: 100%;
  140. height: 100%;
  141. overflow: hidden;
  142. opacity: 0;
  143. -webkit-transition: all 500ms;
  144. -moz-transition: all 500ms;
  145. -ms-transition: all 500ms;
  146. -o-transition: all 500ms;
  147. transition: all 500ms;
  148. }
  149. .section.flow {
  150. overflow-y: auto;
  151. }
  152. .section.appear {
  153. opacity: 1;
  154. }
  155. .section.page h1 {
  156. position: absolute;
  157. left: 50%;
  158. top: 70px;
  159. margin-left: -200px;
  160. color: #fff;
  161. text-align: center;
  162. font-size: 60px;
  163. border-top: 1px solid #fff;
  164. border-bottom: 1px solid #fff;
  165. padding: 5px 0 10px;
  166. width: 400px;
  167. }
  168. /**
  169. * Main Background
  170. */
  171. #bg-pattern {
  172. position: fixed;
  173. top: 0;
  174. left: 0;
  175. width: 100%;
  176. height: 100%;
  177. cursor: default;
  178. background-color: #01bcff;
  179. background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGNvdW50PScxMDAlJyBoZWlnaHQ9JzEwMCUnPgoJPGNpcmNsZSBjeD0nNTAlJyBjeT0nNTAlJyByPSc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JPGNpcmNsZSBjeD0nMCUnIGN5PScxMDAlJyByPSc2MCUnIGZpbGwtb3BhY2l0eT0nLjEnIGZpbGw9JyM2NmQ2ZmYnIC8+Cgk8Y2lyY2xlIGN4PScwJScgY3k9JzEwMCUnIHI9JzcwJScgZmlsbC1vcGFjaXR5PScuMScgZmlsbD0nIzY2ZDZmZicgLz4KPC9zdmc+');
  180. }
  181. /**
  182. * Top Navigation
  183. */
  184. #navigation {
  185. position: fixed;
  186. top: -60px;
  187. left: 50%;
  188. margin-left: -200px;
  189. width:400px;
  190. background: #fff;
  191. text-align: center;
  192. border-radius: 0 0 .2em .2em;
  193. z-index: 9999;
  194. -webkit-transition: all 500ms;
  195. -moz-transition: all 500ms;
  196. -ms-transition: all 500ms;
  197. -o-transition: all 500ms;
  198. transition: all 500ms;
  199. }
  200. #navigation a {
  201. display:inline-block;
  202. padding: 5px 20px;
  203. margin: 10px 0px;
  204. text-align: center;
  205. border-left: 1px solid;
  206. box-sizing: border-box;
  207. }
  208. #navigation a:first-child {
  209. border-left: none;
  210. }
  211. #navigation.show {
  212. top: 0;
  213. }
  214. /**
  215. * Landing Page
  216. */
  217. #landing {
  218. position: fixed;
  219. top: 50%;
  220. left: 50%;
  221. margin-top: -150px;
  222. margin-left: -250px;
  223. color: #fff;
  224. text-align:center;
  225. width: 500px;
  226. height: 300px;
  227. opacity: 0;
  228. -webkit-transition: all 500ms;
  229. -moz-transition: all 500ms;
  230. -ms-transition: all 500ms;
  231. -o-transition: all 500ms;
  232. transition: all 500ms;
  233. }
  234. #landing.show {
  235. opacity: 1;
  236. }
  237. #landing h1 {
  238. font-size: 120px;
  239. }
  240. #landing p {
  241. font-size: 20px;
  242. line-height: 160%;
  243. }
  244. #landing .button {
  245. margin-top:20px;
  246. position: relative;
  247. }
  248. #landing .button a {
  249. display: inline-block;
  250. background: #fff;
  251. padding: 10px 25px;
  252. color:#01bcff;
  253. transition: all 500ms;
  254. }
  255. #landing .button span {
  256. display: inline-block;
  257. position: absolute;
  258. left: 0;
  259. bottom: -20px;
  260. width: 100%;
  261. text-align: center;
  262. font-size: 10px;
  263. font-style: italic;
  264. }
  265. #landing.on {
  266. opacity: 1;
  267. }
  268. #landing.off {
  269. opacity: 0;
  270. }
  271. /**
  272. * Example
  273. */
  274. #example .box {
  275. position: absolute;
  276. left: 50%;
  277. width: 400px;
  278. height: 200px;
  279. margin-left: -200px;
  280. -webkit-transition: all 1000ms;
  281. -moz-transition: all 1000ms;
  282. -ms-transition: all 1000ms;
  283. -o-transition: all 1000ms;
  284. transition: all 1000ms;
  285. }
  286. #example #box-button {
  287. top: 200px;
  288. left: 0%;
  289. }
  290. #example.show #box-button {
  291. left: 50%;
  292. }
  293. #example #box-button p .waves-button {
  294. margin: 0px 10px;
  295. }
  296. #example #box-icon {
  297. top: 450px;
  298. left: 100%;
  299. }
  300. #example.show #box-icon {
  301. left: 50%;
  302. }
  303. #example #box-icon p .waves-circle {
  304. margin: 0 8px;
  305. }
  306. #example #box-other {
  307. top: 700px;
  308. height: 450px;
  309. left: 0%;
  310. }
  311. #example.show #box-other {
  312. left: 50%;
  313. }
  314. #example .boxes {
  315. width:125px;
  316. height:125px;
  317. text-align:center;
  318. padding:55px 0;
  319. margin:10px 30px;
  320. float:left;
  321. box-sizing:border-box;
  322. border-radius:0px;
  323. }
  324. #example .flat-box {
  325. border: 1px solid #ccc;
  326. }
  327. #example .float-box {
  328. background:#ff4f0f;
  329. color:#fff;
  330. }
  331. #example .large-box {
  332. width: 310px;
  333. background: #2387c6;
  334. color: #fff;
  335. }
  336. #example #box-other img {
  337. width: 260px;
  338. height: auto;
  339. }
  340. #example #box-action {
  341. top: 1200px;
  342. left: 100%;
  343. margin-bottom: 40px;
  344. }
  345. #example.show #box-action {
  346. left: 50%;
  347. }
  348. /**
  349. * Source code popup
  350. */
  351. #source-code {
  352. position: fixed;
  353. top: 0;
  354. left: 0;
  355. width: 100%;
  356. height: 100%;
  357. z-index: 1;
  358. }
  359. #source-code .bg {
  360. position: absolute;
  361. top: 0;
  362. left: 0;
  363. width: 100%;
  364. height: 100%;
  365. background: rgba(0,0,0,0.6);
  366. opacity: 0;
  367. -webkit-transition: all 500ms;
  368. -moz-transition: all 500ms;
  369. -ms-transition: all 500ms;
  370. -o-transition: all 500ms;
  371. transition: all 500ms;
  372. }
  373. #source-code.show .bg {
  374. opacity: 1;
  375. }
  376. #source-code .box {
  377. position: absolute;
  378. top: -100%;
  379. left: 50%;
  380. width: 500px;
  381. height: 300px;
  382. margin-left: -250px;
  383. margin-top: -150px;
  384. -webkit-transition: all 500ms;
  385. -moz-transition: all 500ms;
  386. -ms-transition: all 500ms;
  387. -o-transition: all 500ms;
  388. transition: all 500ms;
  389. }
  390. #source-code.show .box {
  391. top: 50%;
  392. }
  393. #source-code .box .top-button {
  394. padding: 5px 10px;
  395. }
  396. #source-code .wrapper {
  397. padding: 5px 10px 10px;
  398. }
  399. #source-code pre {
  400. height: 190px;
  401. }
  402. /**
  403. * Content
  404. */
  405. .content .box {
  406. position: absolute;
  407. top: 180px;
  408. left: 50%;
  409. margin-left: -275px;
  410. padding: 20px 25px;
  411. width: 550px;
  412. box-sizing: border-box;
  413. -webkit-transition: all 1000ms;
  414. -moz-transition: all 1000ms;
  415. -ms-transition: all 1000ms;
  416. -o-transition: all 1000ms;
  417. transition: all 1000ms;
  418. }
  419. .content .box code,
  420. .content .box pre {
  421. font-size: 14px;
  422. line-height: 1.35;
  423. }
  424. .content .box code {
  425. display: inline-block;
  426. padding: 0px 5px;
  427. }
  428. .content .box p {
  429. line-height: 160%;
  430. }
  431. .content h2 {
  432. margin-top: 40px;
  433. }
  434. h2 {
  435. font-size:30px;
  436. }
  437. h3 {
  438. margin-top:10px;
  439. margin-bottom: 10px;
  440. font-size:25px;
  441. }
  442. hr {
  443. margin: 30px 0;
  444. }
  445. /**
  446. * Page transition
  447. */
  448. #getting-started .box {
  449. left: -550px;
  450. }
  451. #getting-started.show .box {
  452. left: 50%;
  453. }
  454. #api .box {
  455. top: 100%;
  456. margin-bottom: 20px;
  457. }
  458. #api.show .box {
  459. top: 180px;
  460. }
  461. #faq .box {
  462. left: 100%;
  463. margin-left: 0px;
  464. }
  465. #faq.show .box {
  466. left: 50%;
  467. margin-left: -275px;
  468. }
  469. /**
  470. * Snarl Notification
  471. */
  472. .snarl-notification h3 {
  473. font-size: 1.3em;
  474. font-weight: 400;
  475. margin-bottom: 0.3em;
  476. }
  477. .snarl-notification p {
  478. padding: 0;
  479. }
  480. /**
  481. * Responsive stuff
  482. */
  483. /* 480px - 639px */
  484. @media all and (max-width: 639px) {
  485. #landing {
  486. margin-left: -200px;
  487. width: 400px;
  488. }
  489. #landing h1 {
  490. font-size: 100px;
  491. }
  492. .section.page h1 {
  493. margin-left: -150px;
  494. width: 300px;
  495. font-size: 40px;
  496. }
  497. #example.show .box {
  498. width: 400px !important;
  499. left: 50% !important;
  500. margin-left: -200px !important;
  501. }
  502. #example #box-button {
  503. top: -200px;
  504. }
  505. #example.show #box-button {
  506. top: 150px;
  507. }
  508. #example #box-icon {
  509. top: -200px;
  510. }
  511. #example.show #box-icon {
  512. top: 370px;
  513. }
  514. #example #box-other {
  515. top: -450px;
  516. }
  517. #example.show #box-other {
  518. top: 590px;
  519. }
  520. #example #box-other .boxes {
  521. width: 125px;
  522. }
  523. #example #box-action {
  524. top: -200px;
  525. }
  526. #example.show #box-action {
  527. top: 1070px;
  528. }
  529. #source-code .box {
  530. margin-left: -200px;
  531. width: 400px;
  532. }
  533. .content .box {
  534. top: 150px;
  535. margin-bottom: 40px;
  536. margin-left: -200px;
  537. width: 400px;
  538. }
  539. #api.show .box {
  540. top: 150px;
  541. }
  542. #faq.show .box {
  543. margin-left: -200px;
  544. }
  545. }
  546. /* 320px - 479px */
  547. @media all and (max-width: 479px) {
  548. #navigation {
  549. width: 320px;
  550. margin-left: -160px;
  551. }
  552. #navigation.show {
  553. top: 0px;
  554. }
  555. #navigation a {
  556. padding: 5px 0px;
  557. width: 75px;
  558. }
  559. #landing {
  560. margin-top: -130px;
  561. margin-left: -150px;
  562. width: 300px;
  563. height: 260px;
  564. }
  565. #landing h1 {
  566. font-size: 80px;
  567. }
  568. #landing p {
  569. font-size: 18px;
  570. }
  571. .section.page h1 {
  572. margin-left: -120px;
  573. width: 240px;
  574. font-size: 40px;
  575. }
  576. #example.show .box {
  577. width: 300px !important;
  578. left: 50% !important;
  579. margin-left: -150px !important;
  580. }
  581. #example.show #box-button {
  582. top: 150px;
  583. }
  584. #example #box-button {
  585. left: 10px;
  586. height: 300px;
  587. }
  588. #example #box-button p {
  589. padding: 0;
  590. }
  591. #example #box-button p .waves-button {
  592. margin: 10px;
  593. }
  594. #example #box-icon {
  595. top: -300px;
  596. left: 10px;
  597. height: 300px;
  598. }
  599. #example.show #box-icon {
  600. top: 480px;
  601. }
  602. #example #box-icon p {
  603. padding: 0;
  604. }
  605. #example #box-icon p .waves-circle {
  606. margin: 10px 8px;
  607. }
  608. #example #box-other {
  609. top: -590px;
  610. left: 10px;
  611. height: 590px;
  612. }
  613. #example.show #box-other {
  614. top: 810px;
  615. }
  616. #example #box-other .boxes {
  617. width: 220px;
  618. }
  619. #example #box-action {
  620. top: -180px;
  621. left: 10px;
  622. height: 180px;
  623. }
  624. #example.show #box-action {
  625. top: 1430px;
  626. margin-bottom: 40px;
  627. }
  628. #source-code .box {
  629. margin-left: -150px;
  630. width: 300px;
  631. }
  632. .content .box {
  633. margin-left: -150px;
  634. width: 300px;
  635. }
  636. #getting-started h1 {
  637. font-size: 30px;
  638. }
  639. #getting-started .box {
  640. top: 140px;
  641. }
  642. #api.show .box {
  643. top: 150px;
  644. }
  645. #api h3 {
  646. font-size: 18px;
  647. }
  648. #faq .box {
  649. top: 150px;
  650. }
  651. #faq.show .box {
  652. margin-left: -150px;
  653. }
  654. }