* { margin: 0; padding: 0; } body { margin: 0 auto !important; } :focus { outline: 0; } .center { display: flex; align-items: center; justify-content: center; } .relative { position: relative; } div { box-sizing: border-box; font-family: Microsoft YaHei; } img { display: block; } .hideOneLine { word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; } .hideTwoLine { word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .card { box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 20%); padding: 30px; border-radius: 30px; } .white { color: white; } /*去除未被访问的a标签的下划线*/ a:link { text-decoration: none; } /*去除已经被访问过的a标签的下划线*/ a:visited { text-decoration: none; } /*去除鼠标悬停时的a标签的下划线*/ a:hover { text-decoration: none; } /*去除正在点击的a标签的下划线(鼠标按下,尚未松开)*/ a:active { text-decoration: none; } /*去除获得焦点的a标签的下划线(被鼠标点击过)*/ a:focus { text-decoration: none; } /* 两侧空隙宽度 */ .hideTowLine { word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .loading { height: 40px; margin: 100px auto; display: none; justify-content: center; } .loading span { width: 8px; height: 100%; border-radius: 4px; background-color: lightgreen; animation: load 1s ease infinite; margin: 0 2px; } @keyframes load { 0%, 100% { transform: scaleY(1.5); background-color: lightgreen; } 50% { transform: scaleY(1); background-color: lightblue; } } .loading span:nth-child(2) { animation-delay: 0.2s; } .loading span:nth-child(3) { animation-delay: 0.4s; } .loading span:nth-child(4) { animation-delay: 0.6s; } .loading span:nth-child(5) { animation-delay: 0.8s; } /*当屏幕尺寸大于1200px时,应用下面的CSS样式*/ @media screen and (min-device-width: 1200px) { body { max-width: 1920px; margin: 0 auto; } #header { height: 130px; overflow: visible; } .kongbai { width: 1200px; } .template-page-title { display: flex; justify-content: center; position: relative; } .bigHidden { display: none !important; } } /*当屏幕尺寸小于1200px时,应用下面的CSS样式*/ @media screen and (max-device-width: 1200px) { body { max-width: 100vw; } #header { height: 80px; } .smallHidden { display: none !important; } .kongbai { width: 100%; padding: 0 10px; } .template-page-title { display: flex; position: relative; } } /*去除a标签下划线*/ a { text-decoration: none; } /*去除未被访问的a标签的下划线*/ a:link { text-decoration: none; } /*去除已经被访问过的a标签的下划线*/ a:visited { text-decoration: none; } /*去除鼠标悬停时的a标签的下划线*/ a:hover { text-decoration: none; } /*去除正在点击的a标签的下划线(鼠标按下,尚未松开)*/ a:active { text-decoration: none; } /*去除获得焦点的a标签的下划线(被鼠标点击过)*/ a:focus { text-decoration: none; } div { box-sizing: border-box; } /* 模块title */ .template-page-title > img { margin-right: 10px; } .template-page-title-en { font-size: 16px; font-family: FZDaBiaoSong-B06; font-weight: 400; color: #a7b0ba; } .template-page-title-zh { font-size: 24px; font-family: Microsoft YaHei; font-weight: 400; color: #333333; } .flex { display: flex; } .center { justify-content: center; align-items: center; } /* 顶部 */ a { text-decoration: none; color: white; } .iconArea { display: flex; align-items: center; } .topArea { display: flex; justify-content: space-between; width: 100%; align-item: center; position: relative; top: 30px; } .smallSearchArea { position: relative; width: 100vw; height: 65px; display: none; justify-content: center; background: #0b1e5b; } .searchAfterArea { display: inline-block; position: relative; } .searchAfterArea::after { content: ""; position: absolute; right: 16px; top: 25px; color: #adadad; width: 18px; height: 18px; /* background: url(../newimage/index/); */ background-size: 100% 100%; z-index: 99; } .search { height: 18px; width: 18px; cursor: pointer; margin-left: 10px; } .caidan-btn { position: absolute; right: 20px; top: 40%; width: 20px; height: 20px; } /*当屏幕尺寸大于1200px时,应用下面的CSS样式*/ @media screen and (min-device-width: 1200px) { .bigHidden { display: none; } .caidanSearch, .caidanOpen, .caidanClos, .caidanEn { display: none; } } /*当屏幕尺寸小于1200px时,应用下面的CSS样式*/ @media screen and (max-device-width: 1200px) { .topArea { top: 0; } .menu:hover .menuArea2 { display: flex; flex-wrap: wrap; } .menuArea2 .menu2 { width: 33.33%; font-size: 12px; font-family: Microsoft YaHei; font-weight: 400; color: #9ca7b8; } .menu { padding: 0 calc(25px / 2); /* background: #06214e; */ } .menuArea > div:nth-child(1) > div > img { display: none; } .menuArea > div:nth-child(1) > div > span { /* color: #333; */ margin-left: 10px; } .menu a { font-size: 14px; font-family: Microsoft YaHei; font-weight: 400; color: #ced3dc; /* background: #06214e; */ width: 100%; height: 100%; display: block; height: 48px; display: flex; align-items: center; position: relative; /* border-bottom: 1px solid #1e437d; */ } .smallHidden { display: none; } .iconArea { display: none; position: absolute; top: 22px; right: 80px; } .search { width: 30px; height: 30px; } /* nav总体 */ .menuArea { display: block; background: #eeeeee; margin-left: 0 !important; } /* nav二级菜单整体 */ .menuArea > div:nth-child(1) { } /* nav二级菜单item */ .menuArea > div:nth-child(2) { display: none; } .head-main { background: #07224f; background-size: 100% 100%; background-repeat: no-repeat; width: 100%; position: relative; height: 80px; margin-bottom: -1px; } .head-main-logo { width: 68%; } .caidanSearch { display: block; right: 60px !important ; } .caidanEn { display: block; right: 100px !important ; } .caidanOpen { display: block; } .caidanClos { display: none; } }