App.vue 866 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <router-view />
  3. </template>
  4. <script>
  5. export default {};
  6. </script>
  7. <style>
  8. #app {
  9. font-family: Avenir, Helvetica, Arial, sans-serif;
  10. -webkit-font-smoothing: antialiased;
  11. -moz-osx-font-smoothing: grayscale;
  12. /* text-align: center; */
  13. /* color: #2c3e50; */
  14. /* margin-top: 60px; */
  15. }
  16. html,
  17. body {
  18. height: 100vh;
  19. margin: 0;
  20. padding: 0;
  21. }
  22. /*定义滚动条轨道 内阴影+圆角*/
  23. ::-webkit-scrollbar {
  24. width: 3px;
  25. height: 3px;
  26. background: transparent;
  27. }
  28. ::-webkit-scrollbar-corner {
  29. background-color: transparent;
  30. }
  31. /*滚动条里面小方块*/
  32. ::-webkit-scrollbar-thumb {
  33. background-color: var(--color-scrollbar) !important;
  34. border-radius: 4px;
  35. }
  36. ::-webkit-scrollbar-thumb:hover {
  37. background-color: var(--color-scrollbar-hover);
  38. }
  39. ::-webkit-scrollbar-track {
  40. background-color: transparent !important;
  41. }
  42. </style>