_base.scss 2.0 KB

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