_base.scss 663 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Base
  2. *,
  3. *::before,
  4. *::after {
  5. box-sizing: inherit;
  6. }
  7. html {
  8. box-sizing: border-box;
  9. font-size: $html-font-size;
  10. line-height: $html-line-height;
  11. -webkit-tap-highlight-color: transparent;
  12. }
  13. body {
  14. background: $body-bg;
  15. color: $body-font-color;
  16. font-family: $body-font-family;
  17. font-size: $font-size;
  18. overflow-x: hidden;
  19. text-rendering: optimizeLegibility;
  20. }
  21. a {
  22. color: $link-color;
  23. outline: none;
  24. text-decoration: none;
  25. &:focus {
  26. @include control-shadow();
  27. }
  28. &:focus,
  29. &:hover,
  30. &:active,
  31. &.active {
  32. color: $link-color-dark;
  33. text-decoration: underline;
  34. }
  35. &:visited {
  36. color: $link-color-light;
  37. }
  38. }