_base.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. $dark-purple: #423443;
  2. $blue: #2eafc2;
  3. $red: #d12521;
  4. $grey: #dad7d2;
  5. $dark-grey: #261e26;
  6. * {
  7. margin: 0;
  8. padding: 0;
  9. -moz-box-sizing: border-box;
  10. -webkit-box-sizing: border-box;
  11. box-sizing: border-box;
  12. }
  13. html {
  14. font-size: 100%;
  15. overflow-y: auto;
  16. -webkit-overflow-scrolling: touch;
  17. -webkit-tap-highlight-color: rgba(0,0,0,0);
  18. -webkit-text-size-adjust: 100%;
  19. -ms-text-size-adjust: 100%;
  20. }
  21. ::-moz-selection {
  22. background: darken($dark-purple, 10%);
  23. color: #fefefe;
  24. text-shadow: none;
  25. }
  26. ::selection {
  27. background: darken($dark-purple, 10%);
  28. color: #fefefe;
  29. text-shadow: none;
  30. }
  31. article, aside, figure, footer, header, nav, section {
  32. display: block;
  33. }
  34. pre {
  35. font-size: 12px;
  36. }
  37. audio, canvas, video {
  38. display: inline-block; *display: inline; *zoom: 1;
  39. }
  40. audio:not([controls]) {
  41. display: none;
  42. }
  43. [hidden] { display: none; }
  44. img {
  45. border: 0;
  46. -ms-interpolation-mode: bicubic;
  47. vertical-align: middle;
  48. }
  49. svg:not(:root) {
  50. overflow: hidden;
  51. }
  52. form {
  53. margin: 0;
  54. }
  55. label {
  56. cursor: pointer;
  57. }
  58. button, input, select, textarea {
  59. font-size: 100%;
  60. margin: 0;
  61. vertical-align: baseline;
  62. *vertical-align: middle;
  63. }
  64. body, html {
  65. color: #424242;
  66. font-family: 'Open Sans', sans-serif;
  67. background: #fefefe;
  68. font-size: 16px;
  69. line-height: 1.5;
  70. font-weight: 400;
  71. height: 100%;
  72. }
  73. a {
  74. font-size: 1rem;
  75. color: darken($blue, 5%);
  76. text-decoration: underline;
  77. &:hover {
  78. color: $blue;
  79. text-decoration: none;
  80. transition: all 0.2s ease-in-out;
  81. }
  82. &:focus {
  83. outline: none;
  84. }
  85. }
  86. p {
  87. text-align: left;
  88. margin-bottom: 1em;
  89. font-size: 1rem;
  90. }
  91. h1 {
  92. font-family: 'Cherry Swash';
  93. font-weight: 400;
  94. font-size: 2rem;
  95. text-align: center;
  96. color: $dark-purple;
  97. margin-bottom: 0.5em;
  98. }
  99. h2 {
  100. font-weight: 600;
  101. font-size: 1.5rem;
  102. margin: 1em 0 0.5em 0;
  103. color: lighten($dark-purple, 5%);
  104. }
  105. .clearfix { *zoom: 1;
  106. &::before,
  107. &:after { content: ""; display: table; }
  108. &:after { clear: both; }
  109. }