main.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. html {
  2. font-size: 16px;
  3. // box-sizing: border-box;
  4. // * {
  5. // box-sizing: inherit;
  6. // }
  7. // overscroll-behavior-y: contain;
  8. }
  9. body {
  10. // overscroll-behavior-y: contain;
  11. }
  12. @font-face {
  13. font-family: AlibabaPuHuiTi;
  14. src: url('../fontFace/AlibabaPuHuiTi/Alibaba-PuHuiTi-Bold.otf') format('opentype'),
  15. url('../fontFace/AlibabaPuHuiTi/Alibaba-PuHuiTi-Heavy.otf') format('opentype'),
  16. url('../fontFace/AlibabaPuHuiTi/Alibaba-PuHuiTi-Light.otf') format('opentype'),
  17. url('../fontFace/AlibabaPuHuiTi/Alibaba-PuHuiTi-Medium.otf') format('opentype'),
  18. url('../fontFace/AlibabaPuHuiTi/Alibaba-PuHuiTi-Regular.otf') format('opentype')
  19. url('../fontFace/AlibabaPuHuiTi/阿里巴巴普惠体H.ttf') format('truetype');
  20. }
  21. ::-webkit-scrollbar {
  22. width: 5px;
  23. /* 滚动条宽度为0 */
  24. height: 5px;
  25. /* 滚动条高度为0 */
  26. display: block;
  27. /* 滚动条隐藏 */
  28. }
  29. ::-webkit-scrollbar {
  30. width: 5px !important;
  31. /* 滚动条宽度为0 */
  32. height: 5px !important;
  33. /* 滚动条高度为0 */
  34. display: block !important;
  35. /* 滚动条隐藏 */
  36. }
  37. ::-webkit-scrollbar-track-piece {
  38. background-color: rgba(0, 0, 0, 0.2) !important;
  39. -webkit-border-radius: 6px !important;
  40. }
  41. ::-webkit-scrollbar-thumb:vertical {
  42. height: 5px !important;
  43. background-color: rgba(125, 125, 125, 0.7) !important;
  44. -webkit-border-radius: 6px !important;
  45. }
  46. ::-webkit-scrollbar-thumb:horizontal {
  47. width: 5px !important;
  48. background-color: rgba(125, 125, 125, 0.7) !important;
  49. -webkit-border-radius: 6px !important;
  50. }