/* 字体加载 OTF: opentype TTF: truetype */ @font-face {font-family: 'HarmonyOS_Sans_Regular'; src: url('../../font/HarmonyOS_Sans_Regular.ttf'); src:url('../../font/HarmonyOS_Sans_Regular.ttf') format('truetype'); } @font-face {font-family: 'HarmonyOS_Sans_Light'; src: url('../../font/HarmonyOS_Sans_Light.ttf'); src:url('../../font/HarmonyOS_Sans_Light.ttf') format('truetype'); } @font-face {font-family: 'Montserrat-Bold'; src: url('../../font/Montserrat-Bold-3.otf'); src:url('../../font/Montserrat-Bold-3.otf') format('opentype'); } @font-face {font-family: 'Montserrat-Regular'; src: url('../../font/Montserrat-Regular-8.otf'); src:url('../../font/Montserrat-Regular-8.otf') format('opentype'); } @font-face {font-family: 'Montserrat-Medium'; src: url('../../font/Montserrat-Medium-7.otf'); src:url('../../font/Montserrat-Medium-7.otf') format('opentype'); } @font-face {font-family: 'SourceHanSansCN-Regular'; src: url('../../font/SourceHanSansCN-Regular.ttf'); src:url('../../font/SourceHanSansCN-Regular.ttf') format('opentype'); } /*css 初始化 */ html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, nav, header, form, fieldset, legend, img, div, span, section, footer, em, input, textarea, a{ margin:0; padding:0; box-sizing: border-box;} fieldset, img,input,button, textarea { border:none; padding:0;margin:0;outline-style:none; } ul, ol { list-style:none; } input, textarea { padding-top:0; padding-bottom:0;} select, input { vertical-align:middle; } select, input, textarea { margin:0; } textarea { resize:none; } img {border:0; vertical-align:middle;} table { border-collapse:collapse; } body { font-size:16px; /* font-family:Arial, sans-serif; font:Arial,Verdana,"\5b8b\4f53"; */ font-family: 'SourceHanSansCN-Regular'; color:#666; background:#fff } .clearfix:before,.clearfix:after{ content:""; display:table; } .clearfix:after{clear:both;} .clearfix{ *zoom:1;/*IE/7/6*/ } a{color:#666; text-decoration:none;transition:All 0.4s ease;-webkit-transition:All 0.4s ease;-moz-transition:All 0.4s ease;-o-transition:All 0.4s ease;} h1,h2,h3,h4,h5,h6{text-decoration:none;font-weight:normal;} s,i,em{font-style:normal;text-decoration:none;} .main-box .box-cent .cent-box img, .main-box .box-cent .cent-box video{ max-width: 100%; }