global.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /****************************************************************
  2. * *
  3. * 代码库 *
  4. * www.dmaku.com *
  5. * 努力创建完善、持续更新插件以及模板 *
  6. * *
  7. ****************************************************************/
  8. @charset "utf-8";*{word-wrap: break-word;}
  9. html{-webkit-text-size-adjust: none;}
  10. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,span{padding:0;margin:0;}
  11. body{font:normal 14px/24px "Microsoft Yahei","冬青黑体简体中文 w3","宋体";}
  12. fieldset,img,html,body,iframe{border:0;}
  13. table{border-collapse:collapse;border-spacing:0;}
  14. ol,ul{list-style:none;}
  15. address,caption,cite,code,dfn,em,strong,th,var{font-weight:normal;font-style:normal;}
  16. caption,th{text-align:left;}
  17. em,i,small,caption,th{font-weight:normal;font-style:normal;font-size:100%;}
  18. q:before,q:after{content:'';}
  19. .clearfix{*zoom:1;}
  20. .clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}
  21. a{color: #2f333b;text-decoration: none;-webkit-transition:all 0.3s ease;-moz-transition:all 0.3s ease;-o-transition:all 0.3s ease;transition:all 0.3s ease;}
  22. a:hover{color:#9bb7d5;}
  23. a img{border: none;}
  24. a,button{outline:none;border:0;}
  25. input,select{border:1px solid #e1e1e1;}
  26. input[type='radio']{border:0px;}
  27. button::-moz-focus-inner{border:0;padding:0;margin:0;}
  28. textarea,input,button,select{outline:0;font-size:inherit;line-height:inherit;color:inherit;font-family:inherit;}
  29. textarea{overflow:auto;resize:none;}
  30. .hide,.none{display: none;}
  31. .hidden{visibility: hidden;}
  32. .show,.block{display: block;}
  33. img{vertical-align:middle;}
  34. input:disabled,select:disabled,textarea:disabled{background:#f7f7f7;}
  35. .fl{float: left;}
  36. .fr{float: right;}
  37. ::-webkit-scrollbar{width:8px;height:6px;background:#eee;}
  38. ::-webkit-scrollbar-button{background-color:#eee;}
  39. ::-webkit-scrollbar-track{background:#eee;}
  40. ::-webkit-scrollbar-track-piece{background:#eee}
  41. ::-webkit-scrollbar-thumb{background:#aaaaaa;}
  42. ::-webkit-scrollbar-corner{background:#82AFFF;}
  43. ::-webkit-scrollbar-resizer{background:#FF0BEE;}
  44. scrollbar{-moz-appearance:none !important;background:rgb(0,255,0) !important;}
  45. scrollbarbutton{-moz-appearance:none !important;background-color:rgb(0,0,255) !important;}
  46. scrollbarbutton:hover{-moz-appearance:none !important;background-color:rgb(255,0,0) !important;}
  47. scrollbarbutton{display:none !important;}
  48. scrollbar[orient="vertical"]{min-width:8px !important;}