_base.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. audio, canvas, video {
  35. display: inline-block; *display: inline; *zoom: 1;
  36. }
  37. audio:not([controls]) {
  38. display: none;
  39. }
  40. [hidden] { display: none; }
  41. img {
  42. border: 0;
  43. -ms-interpolation-mode: bicubic;
  44. vertical-align: middle;
  45. }
  46. svg:not(:root) {
  47. overflow: hidden;
  48. }
  49. form {
  50. margin: 0;
  51. }
  52. label {
  53. cursor: pointer;
  54. }
  55. button, input, select, textarea {
  56. font-size: 100%;
  57. margin: 0;
  58. vertical-align: baseline;
  59. *vertical-align: middle;
  60. }
  61. body, html {
  62. color: #424242;
  63. font-family: 'Open Sans', sans-serif;
  64. background: #fefefe;
  65. font-size: 16px;
  66. line-height: 1.5;
  67. font-weight: 400;
  68. }
  69. a {
  70. font-size: 1rem;
  71. color: darken($blue, 5%);
  72. text-decoration: underline;
  73. &:hover {
  74. color: $blue;
  75. text-decoration: none;
  76. transition: all 0.2s ease-in-out;
  77. }
  78. &:focus {
  79. outline: none;
  80. }
  81. }
  82. p {
  83. text-align: left;
  84. margin-bottom: 1em;
  85. font-size: 1rem;
  86. }
  87. h2 {
  88. font-family: 'Cherry Swash';
  89. font-weight: 400;
  90. font-size: 2rem;
  91. text-align: center;
  92. color: $dark-purple;
  93. margin-bottom: 0.5em;
  94. }
  95. h3 {
  96. font-weight: 600;
  97. font-size: 1.5rem;
  98. margin: 1em 0 0.5em 0;
  99. color: lighten($dark-purple, 5%);
  100. }
  101. .clearfix { *zoom: 1;
  102. &::before,
  103. &:after { content: ""; display: table; }
  104. &:after { clear: both; }
  105. }