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.

_base.scss 1.4KB

7 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. html, body {
  2. font-size: 16px;
  3. height: 100%;
  4. }
  5. body {
  6. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  7. line-height: 1.6;
  8. background-color: #191919;
  9. color: white;
  10. // for sticky footer
  11. display: flex;
  12. flex-direction: column;
  13. min-height: 100vh;
  14. }
  15. a {
  16. color: white;
  17. text-decoration: none;
  18. cursor: pointer;
  19. &:hover {
  20. text-decoration: underline;
  21. }
  22. &:visited {
  23. color: white;
  24. }
  25. // totally taken from stripe
  26. &.button {
  27. outline: none;
  28. white-space: nowrap;
  29. display: inline-block;
  30. height: 40px;
  31. line-height: 40px;
  32. padding: 0 14px;
  33. box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  34. background: #fff;
  35. border-radius: 4px;
  36. font-size: 15px;
  37. font-weight: 600;
  38. text-transform: uppercase;
  39. letter-spacing: .025em;
  40. color: #191919;
  41. text-decoration: none;
  42. transition: all .15s ease;
  43. &:hover {
  44. transform: translateY(-1px);
  45. text-decoration: none;
  46. box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  47. }
  48. &:active {
  49. background-color: #f6f9fc;
  50. transform: translateY(1px);
  51. // box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, .08);
  52. }
  53. }
  54. }
  55. pre {
  56. padding: 1rem;
  57. overflow: auto;
  58. }
  59. button {
  60. }