_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. img {
  42. display: block;
  43. max-width: 100%;
  44. margin: 0 0 1rem;
  45. border-radius: 5px;
  46. }
  47. table {
  48. margin-bottom: 1rem;
  49. width: 100%;
  50. border: 1px solid #e5e5e5;
  51. border-collapse: collapse;
  52. }
  53. td,
  54. th {
  55. padding: .25rem .5rem;
  56. border: 1px solid #e5e5e5;
  57. }
  58. tbody tr:nth-child(odd) td,
  59. tbody tr:nth-child(odd) th {
  60. background-color: #f9f9f9;
  61. }