reset.css 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @import "./variables.less";
  2. html, body, div, span, iframe,
  3. h1, h2, h3, h4, h5, h6, p,
  4. a, em, img, s, strong,
  5. i,dl, dt, dd, ol, ul, li, form, label,
  6. table, tbody, tfoot, thead, tr, th, td,
  7. article, aside, canvas, input,
  8. figure, footer, header,
  9. menu, nav, output, section, summary, audio, video {
  10. margin: 0;
  11. padding: 0;
  12. border: 0;
  13. font: inherit;
  14. font-size: 14px;
  15. vertical-align: baseline;
  16. box-sizing: border-box;
  17. -moz-box-sizing: border-box; /* Firefox */
  18. -webkit-box-sizing: border-box; /* Safari */
  19. }
  20. html, body {
  21. height: 100%;
  22. /*overflow-x: hidden;*/
  23. font-family: 'Microsoft YaHei', arial, tahoma, sans-serif;
  24. /*overflow-y: hidden; 弹窗出现有可能出现滚动条*/
  25. }
  26. body {
  27. background: #e4e6e7;
  28. line-height: 1;
  29. }
  30. body > :global(#root) {
  31. height: 100%;
  32. width: 100%;
  33. position: relative;
  34. }
  35. ol, ul {
  36. list-style: none;
  37. }
  38. li {
  39. list-style: none;
  40. }
  41. button {
  42. cursor: pointer;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. input,textarea{
  49. border: none;
  50. margin: 0;
  51. padding: 0;
  52. outline: none;
  53. }