d31033aacca1d2430ece624b4de8f2d8c6a622295b15a883e80ebca83665d728a164b8d7dea40d228d97ef38f66967efb20913ac4d6da4873ab1770e7714e8 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @import 'common/var';
  2. body {
  3. font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  4. font-weight: 400;
  5. font-size: $--font-size-base;
  6. color: $--color-black;
  7. -webkit-font-smoothing: antialiased;
  8. }
  9. a {
  10. color: $--color-primary;
  11. text-decoration: none;
  12. &:hover,
  13. &:focus {
  14. color: mix($--color-white, $--color-primary, $--button-hover-tint-percent);
  15. }
  16. &:active {
  17. color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
  18. }
  19. }
  20. h1, h2, h3, h4, h5, h6 {
  21. color: $--color-text-regular;
  22. font-weight: inherit;
  23. &:first-child {
  24. margin-top: 0;
  25. }
  26. &:last-child {
  27. margin-bottom: 0;
  28. }
  29. }
  30. h1 {
  31. font-size: #{$--font-size-base + 6px};
  32. }
  33. h2 {
  34. font-size: #{$--font-size-base + 4px};
  35. }
  36. h3 {
  37. font-size: #{$--font-size-base + 2px};
  38. }
  39. h4, h5, h6, p {
  40. font-size: inherit;
  41. }
  42. p {
  43. line-height: 1.8;
  44. &:first-child {
  45. margin-top: 0;
  46. }
  47. &:last-child {
  48. margin-bottom: 0;
  49. }
  50. }
  51. sup, sub {
  52. font-size: #{$--font-size-base - 1px};
  53. }
  54. small {
  55. font-size: #{$--font-size-base - 2px};
  56. }
  57. hr {
  58. margin-top: 20px;
  59. margin-bottom: 20px;
  60. border: 0;
  61. border-top: 1px solid #eeeeee;
  62. }