body{ color: #000; background-color: #b0d5df; } a{ color: #000; } a:hover{ color: #ff1111; } .header-top{ width: 100%; height: 26px; line-height: 26px; background-color: #F6F6F6; border-bottom: 1px solid #ccc; } .header-top .wrap{ position: relative; } .header-img{ position: relative; } .header-img img{ width: auto; margin: 0 auto; } /* 导航 */ .header-nav{ background-color: #1677b3; } .header-nav ul{ height: 40px; line-height: 40px; background-color: transparent; } .nav-secondLevel{ top: 40px; } .header-nav li:hover a { background-color: rgba(15,68,157,.6); color: #fff; } .nav-secondLevel li:hover a { background-color: rgba(15,68,157,1); } .header-nav .nav-secondLevel li a{ border-color: #07ade7; } .header-nav .nav-threeLevel li a:hover{ background-color: #0190d6; } .header-nav li a{ position: relative; } .header-nav>ul>li>a { font-size: 16px; } .header-nav a i{ width: 0; height: 0; border: 6px solid transparent; border-bottom-color: #fff; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0; } .header-nav li:hover a i{ opacity: 1; } /* 主体 */ .content{ margin-top: 15px; } .content-row{ display: flex; justify-content: space-between; flex-wrap: wrap; } .content-item{ width: 32.6%; box-sizing: border-box; margin-bottom: 15px; background-color: #fff; } .content-item-swiper{ border: 1px solid #349ac2; } .content-item h2{ height: 38px; line-height: 38px; font-size: 16px; background-size: contain; color: #fff; overflow: hidden; padding-right: 5px; } .content-item h2 span{ background: url(../images/bg/bg-title-xqhz.png) repeat-x center; display: inline-block; height: 100%; padding: 0 30px; } .content-item h2 a{ font-weight: normal; float: right; color: #349ac2; font-size: 14px; } .content-item h2 a:hover{ color: #FF0000; } .content-item ul{ border: 1px solid #349ac2; } .content-wrap ul li{ height: 36px; line-height: 36px; margin: 0 10px; /* border-bottom: 1px dashed #ccc; */ padding-left: 16px; background: url(../images/icon/img1.gif)no-repeat left center; } .content-wrap li p{ width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; float: left; } .content-wrap .list-time { float: right; color: #666; } .content-wrap a:hover .list-time { color: #ff1111; } /* 平台链接 */ .platform-link { border: 1px solid #349ac2; } .platform-link>a { display: block; margin: 28px 26px 26px; } .platform-link>a:hover dl { box-shadow: 0 0 12px #1677b3; } .platform-link a dl { overflow: hidden; background-color: #47c0ff; color: #fff; line-height: 60px; font-size: 16px; border-radius: 8px; } .platform-link a:nth-child(1) dl { background-color: #d0122c; } .platform-link a:nth-child(2) dl { background-color: #75d53a; } .platform-link dt { width: 40px; height: 40px; float: left; margin: 10px 20px 10px 50px; } .content-wrap dt img { width: 100%; } .content-wrap dd { /* margin-left: 60px; */ } /* 轮播 */ .swiper-pagination-bullet{ width: 22px; height: 18px; line-height: 18px; border-radius: 2px; font-size: 12px; text-align: center; background-color: rgba(0, 0, 0, .6); color: #fff; } .swiper-pagination-bullet-active { color:#fff; background: rgba(7, 173, 231, .8); } .swiper-container-horizontal>.swiper-pagination-bullets{ text-align: right; left: -3px; bottom: 3px; } .swiper-slide{ position: relative; } .swiper-slide img{ display: block; width: 100%; } .swiper-slide .swiper-title{ position: absolute; left: 0; top: 0; height: 26px; line-height: 26px; background-color: #0190d6; color: #fff; padding: 0 10px; box-sizing: border-box; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } .content-job{ border: 1px solid #349ac2; background-color: #fff; overflow: hidden; } .content-job-left{ width: 32.6%; float: left; background: url(../images/bg/bg-content-xqhz.jpg) center; background-size: cover; } .content-job-left p{ margin: 5px 0; text-align: center; } .content-job-left .login{ display: inline-block; background-color: #91c44e; border: 1px solid #91c44e; color: #fff; padding: 5px 8px; border-radius: 20px; margin-right: 30px; } .content-job-left .login:hover{ background-color: #fff; color: #91c44e; } .content-job-left .blue .login{ background-color: #53b9d2; border-color: #53b9d2; } .content-job-left .blue .login:hover{ background-color: #fff; color: #53b9d2; } .content-job-left .notebook{ padding-left: 24px; background: url(../images/icon/book1.png) no-repeat left center; background-size: contain; } .content-job-left .blue .notebook{ background-image: url(../images/icon/book2.png); } .content-job-img img{ display: block; width: auto; margin: 0 auto; } .content-job-right{ margin-left: 33%; } .content-job-item{ width: 50%; float: left; padding: 0 15px; } .content-job-item h2{ font-size: 14px; line-height: 28px; } .content-job-item h2 a{ font-size: 12px; font-weight: normal; float: right; } .content-job-item a{ color: #666; } .content-job-item a:hover{ color: #ff0000; } .content-job-item li{ line-height: 24px; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 底部友链 */ .content-link { box-sizing: border-box; background-color: #fff; margin-top: 15px; border: 1px solid #349ac2; } .content-link .swiper-slide{ box-sizing: border-box; border: 1px solid #ddd; padding: 3px; margin: 5px 0; } .content-link .swiper-slide img{ width: 100%; } .content-link .swiper-container { width: 100%; } .content-link .swiper-slide { /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .content-link .swiper-button-next.swiper-button-white, .content-link .swiper-button-prev.swiper-button-white{ --swiper-navigation-color: #1677b3; } /* 列表页 */ .content-list-wrap{ border: 1px solid #1677b3; background-color: #fff; } .crumbs{ background-color: #1677b3; color: #fff; } .crumbs a{ color: #fff; } /* 底部 */ .footer{ margin-top: 20px; background-color: #1677b3; } .footer-mesg{ background-color: transparent; } .footer-other{ text-align: center; padding-top: 30px; padding-bottom: 10px; } .footer-QRcode{ display: inline-block; vertical-align: middle; } .footer-other .footer-mesg{ display: inline-block; text-align: left; line-height: 20px; font-size: 12px; padding: 0; vertical-align: middle; margin-left: 5px; } .mobile-nav-icon span{ background-color: #193e88; } .mobile-header-nav>ul{ background-color: #236BBF; } .mobile-header-nav>ul>li { background-color: #236BBF; } .mobile-header-nav li a { border-color: #0190d6; } .mobile-header-nav .nav-secondLevel{ background-color: #2a8fb3; } .mobile-header-nav .nav-threeLevel { background-color: #6dbedc; } /* 响应式 */ @media screen and (max-width: 1024px) { .header-img img{ width: 100%; } } @media screen and (max-width: 980px) { .header-nav{ background-repeat: repeat; background-position: left top; } .header-nav ul{ height: auto; } /* flex布局,item元素补全 */ .header-nav ul::after{ content: ""; width: 50%; } .content-item{ width: 100% !important; } } @media screen and (max-width: 768px) { .content-item{ width: 100%; } .content-tow-lines li{ width: 100%; } .content-job-left{ width: 100%; } .content-job-right{ margin-left: 0; } } @media screen and (max-width: 640px) { .header-top{ display: none; } .header-img{ width: 100%; } .header-img img{ width: auto; } .content-wrap li p{ width: calc(100% - 100px); } .header-right{ display: none; } }