base.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // Body resets
  2. //
  3. // Update the foundational and global aspects of the page.
  4. * {
  5. -webkit-box-sizing: border-box;
  6. -moz-box-sizing: border-box;
  7. box-sizing: border-box;
  8. }
  9. html,
  10. body {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. html {
  15. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  16. font-size: 16px;
  17. line-height: 1.5;
  18. @media (min-width: 38em) {
  19. font-size: 20px;
  20. }
  21. }
  22. body {
  23. color: #515151;
  24. background-color: #fff;
  25. -webkit-text-size-adjust: 100%;
  26. -ms-text-size-adjust: 100%;
  27. }
  28. // No `:visited` state is required by default (browsers will use `a`)
  29. a {
  30. color: #268bd2;
  31. text-decoration: none;
  32. // `:focus` is linked to `:hover` for basic accessibility
  33. &:hover,
  34. &:focus {
  35. text-decoration: underline;
  36. }
  37. strong {
  38. color: inherit;
  39. }
  40. }
  41. // Images
  42. img {
  43. display: block;
  44. max-width: 100%;
  45. margin: 0 0 1rem;
  46. border-radius: 5px;
  47. }
  48. // Tables
  49. table {
  50. margin-bottom: 1rem;
  51. width: 100%;
  52. border: 1px solid #e5e5e5;
  53. border-collapse: collapse;
  54. }
  55. td,
  56. th {
  57. padding: .25rem .5rem;
  58. border: 1px solid #e5e5e5;
  59. }
  60. tbody tr:nth-child(odd) td,
  61. tbody tr:nth-child(odd) th {
  62. background-color: #f9f9f9;
  63. }