重置样式

@charset "utf-8";

html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0); font-family: "Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",Roboto,Arial,sans-serif;}
body,ul,li,dt,dl,p,h1,h2,h3,h4,h5,h6,div,html,form,select,option,table,tr,td,dt,dl,dd,span,input,i,em,b,br,section,header,footer,nav,menu,aside,audio,video,canvas,svg,details,figure,figcaption,summary,hgroup,pre,sub,sup,button,textarea,input{margin:0;padding:0;color:inherit;}
body{ color: #666666; background-color: #fff; word-break: break-all; word-wrap:break-word; font-weight: 400; -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
input,button{overflow: visible;vertical-align:middle;outline:none}
input[type="submit"],input[type="reset"],input[type="button"],input[type="text"],input[type="password"]{-webkit-appearance:none;outline:none}
a,a img{text-decoration:none; color: inherit;border:0;}
a:focus{outline:none;}
/* a:hover{ background: none;} /
a:focus, a:hover{ color: inherit;}
ul,ul li{list-style:none}
fieldset,img,input,button{border: none; padding: 0;margin: 0; outline-style: none;}
h1,h2,h3,h4,h5,h6{font-size:100%; font-weight: normal;}
a{text-decoration:none;cursor: pointer;color:inherit; }
a:hover{text-decoration:none;outline:none; color: initial;}
a:focus{outline:none}
a:hover,a:active{outline:none}
a:focus{outline:none}
sub,sup{vertical-align:baseline}
a:link{text-decoration:none; /
指正常的未被访问过的链接/}
a:visited{text-decoration:none; /
指已经访问过的链接/}
a:hover{text-decoration:none;/
指鼠标在链接/}
a:active{text-decoration:none;/
指正在点的链接*/ }
img{max-width: 100%;height: auto;}
.wrapper{ width: 1200px; margin: 0 auto; padding: 1px 0; box-sizing: border-box; }

@media screen and (max-width:1200px){
.wrapper{ width: 100%; padding: 0 20px; }
}
@media screen and (max-width:1150px){
.wrapper{ width: 100%; padding: 0 10px;}
}

.clearfix:after{content:"";height:0; line-height:0; display:block;clear:both; visibility:hidden;}
.clearfix{ zoom:1;}

input::-webkit-input-placeholder,textarea::-webkit-input-placeholder { /* WebKit browsers /
color: #333;
}
input:-moz-placeholder ,textarea:-moz-placeholder{ /
Mozilla Firefox 4 to 18 /
color: #333;
}
input::-moz-placeholder , textarea::-moz-placeholder{ /
Mozilla Firefox 19+ /
color: #333;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder { /
Internet Explorer 10+ */
color: #333;
}

input:focus::-webkit-input-placeholder,textarea:focus::-webkit-input-placeholder {
color: transparent;
}
/* 滚动条style */
html:not(.isMobile) *::-webkit-scrollbar { width: 6px; height: 6px; background: none; }
html:not(.isMobile) *::-webkit-scrollbar-thumb { background: #2F950D; border-radius: 10px;
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);}

/* 常用felx弹性属性 /
.flex{ display: flex; display:-webkit-flex; flex-direction:row; flex-wrap: nowrap; justify-content:space-between;align-items:center; align-content: flex-start; }
.order{ order:0; flex: 0 1 auto; align-self: auto; } /
align-self: auto | flex-start | flex-end | center | baseline | stretch; */

/* 单行溢出-多行溢出 */
.row{text-overflow: ellipsis;overflow: hidden;white-space:nowrap;}
.multi_row{display: -webkit-box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp:3; }

/* 清除浮动 */
.clearfix:after{content:"";height:0; line-height:0; display:block;clear:both; visibility:hidden;}
.clearfix{ zoom:1;}

头部显示高亮

// 高亮显示头部链接
var iLi = $('.header ul.nav');
var rLi = $('.mHeader ul.menus');
var winUlr = window.location.href;

if( winUlr.indexOf("about") != -1 || winUlr.indexOf("contact") != -1 || winUlr.indexOf("culture") != -1 || winUlr.indexOf("honor") != -1){
    iLi.find("li[name='about']").addClass('active').siblings("li").removeClass("active");
    rLi.find("li[name='about']").addClass('active').siblings("li").removeClass("active");

你可能感兴趣的:(重置样式)