base.scss 762 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @import '@/common/scss/base.scss';
  2. * {
  3. box-sizing: border-box;
  4. }
  5. html,
  6. body,
  7. input,
  8. textarea,
  9. select,
  10. button {
  11. // font-family: 'Avenir', Helvetica, Arial, sans-serif;
  12. font-family: 'PingFangSC', 'PingFangSC-Regular';
  13. -webkit-font-smoothing: antialiased;
  14. -moz-osx-font-smoothing: grayscale;
  15. color: #333;
  16. }
  17. html,
  18. body {
  19. margin: 0 auto;
  20. background: $color-f;
  21. max-width: 750px;
  22. height: 100%;
  23. overflow: hidden;
  24. color: $color-1;
  25. }
  26. .scroll-view {
  27. overflow: auto;
  28. -webkit-overflow-scrolling: touch;
  29. }
  30. @media screen and (max-width: 750px) {
  31. html {
  32. font-size: 14px;
  33. }
  34. }
  35. @media screen and (min-width: 750px) {
  36. html {
  37. font-size: 16px;
  38. }
  39. body {
  40. border-left: 1px solid $color-6;
  41. border-right: 1px solid $color-6;
  42. }
  43. }