reset.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. body {
  2. height: 100%;
  3. -moz-osx-font-smoothing: grayscale;
  4. -webkit-font-smoothing: antialiased;
  5. text-rendering: optimizeLegibility;
  6. font-family: PingFang SC, Noto Sans SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  7. overflow-x: hidden;
  8. }
  9. /* Helvetica Neue, Helvetica, */
  10. label {
  11. font-weight: 700;
  12. }
  13. html {
  14. /* height: 100%; */
  15. box-sizing: border-box;
  16. }
  17. #app {
  18. height: 100%;
  19. }
  20. *,
  21. *:before,
  22. *:after {
  23. box-sizing: inherit;
  24. }
  25. body,
  26. h1,
  27. h2,
  28. h3,
  29. h4,
  30. h5,
  31. h6,
  32. hr,
  33. p,
  34. blockquote,
  35. dl,
  36. dt,
  37. dd,
  38. ul,
  39. ol,
  40. li,
  41. pre,
  42. form,
  43. fieldset,
  44. legend,
  45. button,
  46. input,
  47. textarea,
  48. th,
  49. td {
  50. margin: 0;
  51. padding: 0;
  52. }
  53. h1,
  54. h2,
  55. h3,
  56. h4,
  57. h5,
  58. h6 {
  59. font-size: 100%;
  60. }
  61. address,
  62. cite,
  63. dfn,
  64. em,
  65. var {
  66. font-style: normal;
  67. }
  68. ul,
  69. ol {
  70. list-style: none;
  71. }
  72. a {
  73. text-decoration: none;
  74. }
  75. a:hover {
  76. text-decoration: underline;
  77. }
  78. sup {
  79. vertical-align: text-top;
  80. }
  81. sub {
  82. vertical-align: text-bottom;
  83. }
  84. legend {
  85. color: #000;
  86. }
  87. fieldset,
  88. img {
  89. border: 0;
  90. }
  91. i {
  92. font-style: normal;
  93. }
  94. table {
  95. border-collapse: collapse;
  96. border-spacing: 0;
  97. }
  98. video:focus {
  99. outline: none;
  100. }
  101. ::-webkit-scrollbar {
  102. width: 5px;
  103. }
  104. ::-webkit-scrollbar-track {
  105. background-color: #f1f1f1;
  106. }
  107. ::-webkit-scrollbar-thumb {
  108. background-color: rgba(0, 0, 0, .25);
  109. border-radius: 5px;
  110. }
  111. ::-webkit-scrollbar-thumb:hover {
  112. background-color: rgba(0, 0, 0, 0.4);
  113. }
  114. ::-webkit-scrollbar-button {
  115. display: none;
  116. }