body { font: 14px/2em 'Microsoft YaHei', sans-serif; color: #333; } a { color: #333; } .top_nav { clear: both; width: 100%; height: 80px; background-color: #10589a; } .top_nav div { width: 83vw; min-width: 1056px; box-sizing: border-box; margin: 0 auto; height: 80px; display: flex; justify-content: space-between; align-items: center; position: relative; } .top_nav ul { display: flex; justify-content: flex-end; flex-wrap: nowrap; position: relative; } .top_nav li { font-size: 20px; color: #fff; padding: 0 .2rem; line-height: 80px; font-weight: bold; position: relative; display: flex; align-items: stretch; white-space: nowrap; } .top_nav li a { color: #fff; text-decoration: none; } .top_nav li.en { padding: 0; } .top_nav li.en span { padding: 0 0 0 .2rem; position: relative; border-left: .01rem solid #fff; } .top_nav .goEn { margin-top: 29px; } .top_nav li.en img {} .top_nav li.search a{display:flex;align-items:center} .top_nav li.search img{width:25px} .top_nav .underLine { content: ''; position: absolute; left: 0; bottom: 0; height: .07rem; background-color: #E4494E; transition: all .6s; } @media screen and (max-device-width: 1920px) { .top_nav li { font-size: 16px; } } @media screen and (max-device-width: 1440px) { .top_nav li { font-size: 14px; padding: 0 .1rem; } } @media screen and (max-device-width: 1280px) { .logo { width: 85%; } } @media screen and (max-device-width: 1024px) { .top_nav div { min-width: auto; width: 96vw; } }