base.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { margin:0; padding:0; }
  2. body { background:#fff; color:#555; font-size:14px; font-family:'Microsoft YaHei';-webkit-font-smoothing: antialiased }
  3. td,th,caption { font-size:14px; }
  4. h1, h2, h3, h4, h5, h6 { font-weight:normal; font-size:100%; }
  5. address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal;}
  6. a { color:#555; text-decoration:none; }
  7. a:hover { text-decoration:underline; }
  8. img { border:none; }
  9. i{font-style: normal;}
  10. s{text-decoration: none;}
  11. ol,ul,li { list-style:none; }
  12. input, textarea, select, button { font:14px Verdana,Helvetica,Arial,sans-serif;outline: none; }
  13. table { border-collapse:collapse; }
  14. html {overflow-y: scroll;}
  15. *{box-sizing: border-box;}
  16. /* css common */
  17. .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
  18. .clearfix { *zoom:1; }
  19. .fl{float: left;}
  20. .fr{float: right;}
  21. body{background-color: #fff;}
  22. .ellipsis{display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  23. img{outline-width:0px;}
  24. *{margin:0;padding:0;list-style: none;box-sizing: border-box;}
  25. .loading{position: fixed;left: 0;top: 0;width: 100%;height: 100%;display: none;background: rgba(0,0,0,.4);z-index: 9999}
  26. .loading-box{padding-top: 5px; position: absolute;left: 50%;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);background: rgba(0,0,0,.6);width: 100px;height: 100px;text-align: center;border-radius: 5px;color: #fff;z-index: 5;}
  27. .loading img{width: 60%;-webkit-animation: loading 3s linear infinite;}
  28. @-webkit-keyframes loading{
  29. 0% {
  30. transform:rotate(0deg);
  31. -webkit-transform:rotate(0deg)
  32. }
  33. 100%{
  34. transform:rotate(360deg);
  35. -webkit-transform:rotate(360deg)
  36. }
  37. }