reset.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /**
  2. * custom
  3. */
  4. html,
  5. body,
  6. div,
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6,
  13. ul,
  14. ol,
  15. dl,
  16. li,
  17. dt,
  18. dd,
  19. p,
  20. blockquote,
  21. pre,
  22. form,
  23. fieldset,
  24. table,
  25. th,
  26. td {
  27. border: none;
  28. margin: 0px;
  29. padding: 0px;
  30. }
  31. html,
  32. body,
  33. #app {
  34. /* font-family: "微软雅黑", "黑体", "宋体"; */
  35. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
  36. 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
  37. 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  38. font-size: 14px;
  39. height: 100%;
  40. width: 100%;
  41. }
  42. address,
  43. caption,
  44. cite,
  45. code,
  46. dfn,
  47. em,
  48. strong,
  49. th,
  50. var {
  51. font-style: normal;
  52. font-weight: normal;
  53. }
  54. input::-ms-clear {
  55. display: none;
  56. }
  57. input::-ms-reveal {
  58. display: none;
  59. }
  60. input {
  61. /* -webkit-appearance: none; */
  62. margin: 0;
  63. outline: none;
  64. padding: 0;
  65. }
  66. input::-webkit-input-placeholder {
  67. color: #ccc;
  68. }
  69. input::-ms-input-placeholder {
  70. color: #ccc;
  71. }
  72. input::-moz-placeholder {
  73. color: #ccc;
  74. }
  75. input[type='submit'],
  76. input[type='button'] {
  77. cursor: pointer;
  78. }
  79. button[disabled],
  80. input[disabled] {
  81. cursor: default;
  82. }
  83. img {
  84. border: none;
  85. }
  86. ul,
  87. ol,
  88. li {
  89. list-style-type: none;
  90. }
  91. /*
  92. 滚动条样式
  93. */
  94. @media screen and (min-width: 768px) {
  95. ::-webkit-scrollbar {
  96. /*滚动条整体样式*/
  97. width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  98. height: 8px;
  99. background: transparent;
  100. cursor: pointer;
  101. }
  102. ::-webkit-scrollbar-thumb {
  103. /*滚动条*/
  104. border-radius: 2px;
  105. background: #c7c9cc;
  106. cursor: pointer;
  107. }
  108. ::-webkit-scrollbar-track {
  109. /*轨道*/
  110. border-radius: 0;
  111. background: transparent;
  112. cursor: pointer;
  113. }
  114. }