body { /*background: #bdbdbd;*/ } /*swiper*/ /*.swiper-container { width: 100%; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; !* 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; } .swiper-slide img { width: 100%; } .swiper-pagination-bullet-active { background-color: #516663 !important; } .swiper-pagination{ bottom: 5px; width: 100%; height: 20px; background: aqua; } .swiper-pagination span{ padding: 5px; background: #000000; margin:0 5px; }*/ .swiper-container { width: 100%; color: #fff; text-align: center; } .swiper-slide { width: 100%; height: 100%; } .swiper-slide .title { font-style: italic; font-size: 42px; margin-top: 80px; margin-bottom: 0; line-height: 45px; } .swiper-slide img { width: 100%; } .pagination { position: absolute; z-index: 20; /*left: 10px;*/ bottom: 0.15rem; width: 100%; text-align: center; } .swiper-pagination-switch { display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 10px; background: rgba(153, 153, 153, 0.5); box-shadow: 0px 1px 2px #555 inset; margin: 0 3px; cursor: pointer; } .swiper-visible-switch { background: #aaa; } .swiper-active-switch { background: #190f0d; box-shadow: 0px 1px 2px #555 inset; } /*swiper结束*/ .content-header { width: 100%; height: 44px; } /*图标*/ .home-content .home-remy { margin-top: 20px; margin-bottom: 0px; width: 100%; } .home-content .home-box { /*margin-top: 1.5rem;*/ } .home-content .home-box .width-percent-50 { margin-top: 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; float: left; } .home-content .home-box .width-percent-50:nth-child(1), .home-content .home-box .width-percent-50:nth-child(3) { padding-left: 4%; padding-right: 2%; } .home-content .home-box .width-percent-50:nth-child(2), .home-content .home-box .width-percent-50:nth-child(4) { padding-right: 4%; padding-left: 2%; } .home-content .home-box .width-percent-50 img { width: 100%; } /*媒体查询开始*/ @media (max-width: 320px) { .home-content .home-box { height: 320px; } } @media (min-width: 412px) { .home-content .home-box { height: 412px; } } @media (min-width: 414px) { .home-content .home-remy { margin-bottom: 30px; } } @media (min-width: 768px) { .home-content { } .home-content .home-remy { margin-top: 10px; margin-bottom: 0px; width: 100%; } .home-content .home-box { width: 100%; margin-top: 0rem; height: 36rem; } .home-content .home-box .width-percent-50 { margin-top: 1rem; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; text-align: center; /*图片左右内边距*/ /*图片上下外边距*/ } .home-content .home-box .width-percent-50:nth-child(1), .home-content .home-box .width-percent-50:nth-child(3) { padding-left: 2rem; padding-right: 1rem; } .home-content .home-box .width-percent-50:nth-child(2), .home-content .home-box .width-percent-50:nth-child(4) { padding-left: 1rem; padding-right: 2rem; } .home-content .home-box .width-percent-50 img { width: 100%; } .prevent-scroll .width-percent-33 .title-container-square a .name { display: block; margin-top: 5px; font-size: 1.6rem; } } /*弹框*/ .popup-box { /*background: #fff;*/ position: fixed; top: 0; } .popup { position: fixed; top: 0; z-index: 5000; background: rgba(0, 0, 0, 0.3); } .popup-img { position: fixed; width: 75%; left: 12.5%; top: 5%; background: url("http://odulvej8l.bkt.clouddn.com/%E8%B7%B3%E8%BD%AC%E5%9B%BE.jpg"); background-repeat: no-repeat; background-size: 100%; z-index: 6000; } .popup-close { position: fixed; right: 12.5%; top: 5%; width: 1rem; height: 1rem; line-height: 1.1rem; z-index: 7000; text-align: center; color: white; font-family: 'Helvetica', 'Arial', sans-serif; font-weight: lighter; } .nav-li-box{ position: relative; width: 20px; height: 20px; border-radius: 50%; background: black; } .nav-li { cursor: pointer; display: block; position: absolute; width: 15px; height: 15px; border-radius: 50%; visibility: visible; } .nav-li hr { border: 1px solid #ffffff; width: 100%; margin: 7px 0; border-radius: 10%; } .rotatel{ transform: rotate(-45deg); top: 3px; left: 2px; } .rotater{ transform: rotate(45deg); top: 10px; } .navli-1 { transition: 500ms; position: absolute; } .navli-2 { transition: 500ms; top: 3px; position: absolute; left: 1px; }