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.

94 lines
3.5KB

  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. // from http://www.heropatterns.com
  9. background-color: #191919;
  10. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%234b4b4b' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  11. color: $foreground;
  12. // for sticky footer
  13. display: flex;
  14. flex-direction: column;
  15. min-height: 100vh;
  16. }
  17. a {
  18. color: $link-color;
  19. text-decoration: none;
  20. cursor: pointer;
  21. border-bottom: 1px solid rgba(0, 124, 188, 0.25);
  22. &:hover {
  23. border-bottom: 1px solid $link-color;
  24. }
  25. &:visited {
  26. color: $link-color;
  27. }
  28. // totally taken from stripe
  29. &.button {
  30. outline: none;
  31. white-space: nowrap;
  32. display: inline-block;
  33. height: 40px;
  34. line-height: 40px;
  35. padding: 0 14px;
  36. box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  37. background: #fff;
  38. border-radius: 4px;
  39. font-size: 15px;
  40. font-weight: 600;
  41. text-transform: uppercase;
  42. letter-spacing: .025em;
  43. color: #191919;
  44. text-decoration: none;
  45. transition: all .15s ease;
  46. border-bottom: none;
  47. &:hover {
  48. transform: translateY(-1px);
  49. text-decoration: none;
  50. box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  51. }
  52. &:active {
  53. background-color: #f6f9fc;
  54. transform: translateY(1px);
  55. }
  56. }
  57. &.white {
  58. color: white;
  59. border-bottom-color: rgba(255, 255, 255, 0.25);
  60. &:hover {
  61. border-bottom-color: white;
  62. }
  63. &:visited {
  64. color: white;
  65. }
  66. }
  67. }
  68. pre {
  69. padding: 1rem;
  70. overflow: auto;
  71. }
  72. p code, li code {
  73. background-color: #f5f5f5;
  74. white-space: pre-wrap;
  75. padding: 5px;
  76. border-radius: 5px;
  77. font-size: 0.85rem;
  78. box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 1px rgba(0,0,0,.1), 0 2px 1px -1px rgba(0,0,0,.12);
  79. }