@charset utf-8 /* @名称: base @功能: 重设浏览器默认样式 */ html { color:#222; background:#fff; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } /* 内外边距通常让各个浏览器样式的表现位置不同 */ body, div, dl, dt, dd, ul, ol, li, h2, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { margin:0; padding:0; } body, button, input, select, textarea {font-family: "微软雅黑", Arial;font-size:12px;} input, select, textarea { font-size:100%; } table { border-collapse:collapse; border-spacing:0; } /* IE bug fixed: th 不继承 text-align*/ th { text-align:inherit; } /* 去除默认边框 */ fieldset, img, a img { border:0; } img{ vertical-align:middle;} /* ie6 7 8(q) bug 显示为行内表现 */ iframe { display:block; } address, caption, cite, code, dfn, em, th, var { font-style:normal; font-weight:500; } /* 去掉列表前的标识, li 会继承 */ ol, ul { list-style:none; } caption, th { text-align:left; } h2, h2, h3, h4, h5, h6 { font-size:100%; font-weight:500; } q:before, q:after { content:''; } ins, a { text-decoration:none; } a{font-family:"微软雅黑","Microsoft YaHei", "微软雅黑" Arial; color:#000;} a:hover { text-decoration:none; color:#3f9bc5;} /* 清理浮动 */ ul,dl{ zoom:1;} ul:after,dl:after{ clear:both; display:block; content:""; height:0; visibility:hidden;} .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { zoom:1; } .clear {clear: both; } .cb { clear:both; } body .none { display:none; } .fl, .fr { display:inline; } .fl { float:left; } .fr { float:right; } .tl { text-align:left; } .tc { text-align:center; } .tr { text-align:right; } .f14 { font-size:14px; } :focus { outline: 0; } /*通用margin*/ .mt10{margin-top:10px;} .mb10{margin-bottom:10px;} .ml10{margin-left:10px;} .mr10{margin-right:10px;} .ma10{margin:10px;} .mt50{margin-top:50px;} .mt20{margin-top:20px;} /*通用input*/ .i{height:18px;border:1px #abadb3 solid;} .label{height:20px;line-height:20px;} .btn{width:70px;height:20px;border:0px;cursor:pointer;} .w100{width:100px;} .w170{width:170px;} .w234{width:234px;} /*修复firefox button内文字不垂直居中*/ input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { margin:0; padding:0; border:none; } /* Css Reset End */