main.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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') url('../fontFace/AlibabaPuHuiTi/阿里巴巴普惠体H.ttf') format('truetype');
  19. }
  20. ::-webkit-scrollbar {
  21. width: 5px;
  22. /* 滚动条宽度为0 */
  23. height: 5px;
  24. /* 滚动条高度为0 */
  25. display: block;
  26. /* 滚动条隐藏 */
  27. }
  28. ::-webkit-scrollbar {
  29. width: 5px !important;
  30. /* 滚动条宽度为0 */
  31. height: 5px !important;
  32. /* 滚动条高度为0 */
  33. display: block !important;
  34. /* 滚动条隐藏 */
  35. }
  36. ::-webkit-scrollbar-track-piece {
  37. background-color: rgba(0, 0, 0, 0.2) !important;
  38. -webkit-border-radius: 6px !important;
  39. }
  40. ::-webkit-scrollbar-thumb:vertical {
  41. height: 5px !important;
  42. background-color: rgba(125, 125, 125, 0.7) !important;
  43. -webkit-border-radius: 6px !important;
  44. }
  45. ::-webkit-scrollbar-thumb:horizontal {
  46. width: 5px !important;
  47. background-color: rgba(125, 125, 125, 0.7) !important;
  48. -webkit-border-radius: 6px !important;
  49. }
  50. .van-overlay {
  51. background-color: rgba(0, 0, 0, .9) !important;
  52. }
  53. [v-cloak] {
  54. display: none;
  55. }