File: /www/wwwroot/www.xxlht.com/sh/ceshi/static2/css/base.css
/* 清零 */
*:focus {
outline: none;
}
body {
font-size: 12px;
font-family: 'Microsoft YaHei', Tahoma, Arial, "Roboto", "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "STHeiti", sans-serif;
background: #f9f9f9;
}
/*去除iPhone中默认的input样式*/
input {
-webkit-appearance: none;
resize: none;
}
/*取消链接高亮*/
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, select, p, dl, dt, dd, a, img, button, form, table, th, th, tr, th, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
-webkit-tap-hightlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
margin: 0;
padding: 0;
border: none;
line-height: normal;
letter-spacing: 1px;
}
/*设置HTML5元素为块级元素*/
article, aside, details, figcaption, figure, footer, hgroup, menu, nav, section {
display: block;
}
/*图片自适应*/
img {
max-width: 100%;
height: auto;
width: auto \9; /*IE8*/
-ms-interpolation-mode: bicubic; /*为了照顾IE图片缩放失真*/
vertical-align: top;
}
em, i, strong {
font-style: normal;
}
.clearfix:after {
content: "";
display: block;
visibility: hidden;
height: 0;
clear: both;
}
.clearfix {
zoom: 1
}
a {
text-decoration: none;
color: #929292;
font-family: 'Microsoft YaHei', Tahoma, Arial, "Roboto", "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "STHeiti", sans-serif;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-webkit-user-select: text;
-moz-user-focus: text;
-moz-user-select: text;
}
a:hover {
color: #929292;
text-decoration: none;
}
ul, ol, li {
list-style: none;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-family: 'Microsoft YaHei', Tahoma, Arial, "Roboto", "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "STHeiti", sans-serif;
}
fieldset, img {
border: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th {
text-align: left;
}
q:before, q:after {
content: "";
}
/*禁止表单使用文本框输入法*/
input[type="password"] {
ime-mode: disabled;
}
input[type="text"] {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.scope {
max-width: 640px;
margin: 0 auto;
}
.clear {
clear: both;
}
/*连续英文,数字换行*/
.wordwrap {
word-break: break-all;
word-wrap: break-word;
}
/*单行文字超出显示省略号*/
.omg {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
* {
box-sizing: border-box;
}
/* 禁止长按链接与图片弹出菜单 */
a, img {
-webkit-touch-callout: none;
}
.color1{ /*红色*/
color:#ff0000;
font-weight: bold;
}
.color2{ /*黑色*/
color:#494949;
font-weight: bold;
}
.color3{
color:#1c7231;
font-weight: bold;
}
.color4{
color:#7b7f83;
font-size: 14px;
}
.colors1{color:#ff0000;}
.colors2{color:#1c7231;}