_base.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. $white: #ffffff;
  2. $black: #000000;
  3. $dark-purple: #423443;
  4. $blue: #2eafc2;
  5. $red: #d12521;
  6. $grey: #dad7d2;
  7. $dark-grey: #261e26;
  8. @font-face {
  9. font-family: 'Smart Regular';
  10. src: url('../fonts/smart-regular.eot');
  11. src: url('../fonts/smart-regular.eot?#iefix') format('embedded-opentype'),
  12. url('../fonts/smart-regular.woff2') format('woff2'),
  13. url('../fonts/smart-regular.woff') format('woff'),
  14. url('../fonts/smart-regular.ttf') format('truetype');
  15. font-weight: normal;
  16. font-style: normal;
  17. }
  18. * {
  19. margin: 0;
  20. padding: 0;
  21. -moz-box-sizing: border-box;
  22. -webkit-box-sizing: border-box;
  23. box-sizing: border-box;
  24. }
  25. html {
  26. font-size: 100%;
  27. overflow-y: auto;
  28. min-height: 100%;
  29. position: relative;
  30. -webkit-overflow-scrolling: touch;
  31. -webkit-tap-highlight-color: rgba(0,0,0,0);
  32. -webkit-text-size-adjust: 100%;
  33. -ms-text-size-adjust: 100%;
  34. }
  35. ::-moz-selection {
  36. background: darken($dark-purple, 10%);
  37. color: #fefefe;
  38. text-shadow: none;
  39. }
  40. ::selection {
  41. background: darken($dark-purple, 10%);
  42. color: #fefefe;
  43. text-shadow: none;
  44. }
  45. article, aside, figure, footer, header, nav, section {
  46. display: block;
  47. }
  48. pre {
  49. font-size: 12px;
  50. }
  51. audio, canvas, video {
  52. display: inline-block; *display: inline; *zoom: 1;
  53. }
  54. audio:not([controls]) {
  55. display: none;
  56. }
  57. [hidden] { display: none; }
  58. img {
  59. border: 0;
  60. -ms-interpolation-mode: bicubic;
  61. vertical-align: middle;
  62. }
  63. svg:not(:root) {
  64. overflow: hidden;
  65. }
  66. form {
  67. margin: 0;
  68. }
  69. label {
  70. cursor: pointer;
  71. }
  72. button, input, select, textarea {
  73. font-size: 100%;
  74. margin: 0;
  75. vertical-align: baseline;
  76. *vertical-align: middle;
  77. }
  78. body, html {
  79. color: #000;
  80. font-family: Courier, Monaco, monospace;
  81. background: #fefefe;
  82. font-size: 16px;
  83. line-height: 1.5;
  84. font-weight: 400;
  85. }
  86. body {
  87. margin-bottom: 100px;
  88. }
  89. a {
  90. font-size: 1rem;
  91. color: darken($blue, 5%);
  92. text-decoration: underline;
  93. &:hover {
  94. color: $red;
  95. text-decoration: none;
  96. transition: all 0.2s ease-in-out;
  97. }
  98. &:focus {
  99. outline: none;
  100. }
  101. }
  102. p {
  103. text-align: left;
  104. margin-bottom: 1em;
  105. font-size: 1rem;
  106. }
  107. strong {
  108. font-weight: 600;
  109. }
  110. h1 {
  111. font-family: Courier, Monaco, monospace;
  112. font-weight: 400;
  113. font-size: 2rem;
  114. text-align: center;
  115. color: $black;
  116. margin-bottom: 0.5em;
  117. }
  118. h2 {
  119. font-weight: 600;
  120. font-size: 1.5rem;
  121. margin: 1em 0 0.5em 0;
  122. color: black;
  123. }
  124. .clearfix { *zoom: 1;
  125. &::before,
  126. &:after { content: ""; display: table; }
  127. &:after { clear: both; }
  128. }