reset.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* reset */
  2. html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
  3. header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
  4. table{border-collapse:collapse;border-spacing:0;}
  5. caption,th{text-align:left;font-weight:normal;}
  6. html,body,fieldset,img,iframe,abbr{border:0;}
  7. i,cite,em,var,address,dfn{font-style:normal;}
  8. [hidefocus],summary{outline:0;}
  9. li{list-style:none;}
  10. h1,h2,h3,h4,h5,h6,small{font-size:100%;}
  11. sup,sub{font-size:83%;}
  12. pre,code,kbd,samp{font-family:inherit;}
  13. q:before,q:after{content:none;}
  14. textarea{overflow:auto;resize:none;}
  15. label,summary{cursor:default;}
  16. a,button{cursor:pointer;}
  17. h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
  18. del,ins,u,s,a,a:hover{text-decoration:none;}
  19. body,textarea,input,button,select,keygen,legend{font:14px/1.14;outline:0;}
  20. body{background:#fff;}
  21. *{box-sizing: border-box}
  22. a{text-decoration: none;}
  23. ::-webkit-scrollbar {
  24. width: 2px;
  25. height: 8px;
  26. }
  27. ::-webkit-scrollbar-thumb {
  28. width: 10px;
  29. height: 10px;
  30. background-color: #B10303;
  31. -webkit-border-radius: 4px;
  32. outline: 2px solid #B10303;
  33. outline-offset: -2px;
  34. }
  35. ::-webkit-scrollbar-track{
  36. height: 50px;
  37. background-color: #CCCCCC;
  38. width: 20px;
  39. -webkit-border-radius: 4px;
  40. }