zxf/css/responsive.css

614 lines
12 KiB
CSS

@keyframes mobileHeaderFadeIn {
0% {
opacity: 0;
transform: translateY(-100%);
}
100% {
opacity: 0.9;
transform: translateY(0);
}
}
@keyframes mobileHeaderFadeOut {
0% {
opacity: 0.9;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-100%);
}
}
@media screen and (max-width: 768px) {
.main-wrap {
width: 6.8rem;
max-width: 10rem;
}
.header.style1 .menu .link {
color: #FFFFFF;
}
.header.style1 .menu .link.active {
color: #FFFFFF;
font-weight: bold;
}
.header.style1 .menu .link:hover {
color: #FFFFFF;
}
.header.style2 .menu .link {
color: #FFFFFF;
}
.header.style2 .menu .link.active {
color: #FFFFFF;
font-weight: bold;
}
.header.style2 .menu .link:hover {
color: #FFFFFF;
}
.header .logo {
position: relative;
z-index: 10;
font-size: 0;
}
.header .logo img {
height: 0.52rem;
}
.header .main {
height: 0.9rem;
}
.header .menu .menu-group.iFadeIn,
.header .menu .menu-mask.iFadeIn {
animation: mobileHeaderFadeIn 1.2s;
}
.header .menu .menu-group.iFadeOut,
.header .menu .menu-mask.iFadeOut {
animation: mobileHeaderFadeOut 1.2s;
}
.header .menu .menu-group {
z-index: 10;
display: none;
position: fixed;
left: 0;
top: 0.9rem;
right: 0;
}
.header .menu .menu-mask {
z-index: 5;
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000000;
opacity: 0.9;
}
.header .menu .menu-btn {
display: block;
z-index: 10;
position: relative;
font-size: 0;
}
.header .menu .menu-btn .btn-img {
max-width: 0.52rem;
}
.header .menu .item {
margin-left: 0;
padding: 0 0.36rem;
}
.header .menu .item .link {
display: block;
box-sizing: border-box;
border-bottom: 0.02rem solid #737373;
padding: 0.26rem 0;
font-size: 0.32rem;
}
.footer .logo-bottom {
height: 0.52rem;
}
.footer .main .row {
font-size: 0.32rem;
margin-top: 0.3rem;
line-height: 0.32rem;
}
.footer .main .tel {
width: 4.16rem;
font-size: 0.32rem;
padding: 0.2rem;
}
.section.main-banner .item {
height: 5.1rem;
}
.section.main-banner .swiper-pagination {
display: none;
}
.banner-text {
padding-top: 0.5rem;
}
.banner-text p:nth-child(1) {
font-size: 0.36rem;
line-height: 0.36rem;
margin-bottom: 0.3rem;
}
.banner-text p:nth-child(2) {
font-size: 0.28rem;
line-height: 0.32rem;
}
.section .section-title.style-1 .title {
font-size: 0.36rem;
line-height: 0.36rem;
}
.section .section-title.style-1 .title::before,
.section .section-title.style-1 .title::after {
width: 0.58rem;
height: 0.04rem;
}
.section.idx-about {
margin-top: 0.4rem;
}
.section.idx-about .ia-container {
margin-top: 0.4rem;
font-size: 0.32rem;
line-height: 0.4rem;
}
.section.idx-about .ia-image {
margin-top: 0.4rem;
}
.section.idx-culture {
margin-top: 0.7rem;
margin-bottom: 0.7rem;
}
.section.idx-culture .culture-item:first-child {
margin-top: 0.4rem;
}
.section.idx-culture .culture-item {
width: 100%;
height: auto;
margin-top: 0.2rem;
padding: 0.4rem;
box-shadow: 0rem 0.04rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
}
.section.idx-culture .title {
margin-bottom: 0.28rem;
}
.section.idx-culture .title .text {
font-size: 0.32rem;
}
.section.idx-culture .title .cover {
width: 0.3rem;
height: 0.3rem;
margin-right: 0.16rem;
}
.section.idx-culture .desc {
font-size: 0.28rem;
line-height: 0.36rem;
}
.section.sec-banner {
height: 3.48rem;
}
.section.sec-banner .banner-text {
padding-top: 0.6rem;
}
.full-wrap.about {
background-color: unset;
}
.section.about-textarea {
padding-top: 0.4rem;
padding-bottom: 0.7rem;
}
.section.about-textarea .at-img {
height: 0.53rem;
}
.section.about-textarea .content {
margin-top: 0.4rem;
font-size: 0.32rem;
line-height: 0.4rem;
}
.section.about-textarea .img-group {
margin-top: 0.6rem;
}
.section.about-textarea .img-group .item {
width: 32%;
height: auto;
}
.section.mapcont {
margin-top: 0;
}
.section.mapcont .mcont {
margin-top: 0.5rem;
}
.section.addrcont {
margin-top: 0.4rem;
margin-bottom: 1rem;
}
.section.addrcont .aacont {
margin-top: 0.5rem;
}
.section.addrcont .aacont li::before {
width: 0.38rem;
height: 0.38rem;
margin-top: 0.04rem;
}
.section.addrcont .aacont li:nth-child(2) {
margin-top: 0.3rem;
}
.section.addrcont .aacont li {
width: 100%;
float: unset;
margin-top: 0.3rem;
align-items: flex-start;
}
.section.addrcont .aacont a {
font-size: 0.32rem;
line-height: unset;
margin-left: 0.14rem;
}
.section.contact-map {
margin-top: 0.6rem;
height: 5rem;
}
.section.contact-map .cm-desc {
width: 6.78rem;
border: 0.02rem solid #DDDDDD;
box-shadow: 0rem 0.04rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
}
.section.contact-map .cm-desc .logo {
width: 2.54rem;
height: 2.54rem;
}
.section.contact-map .cm-desc .desc {
width: auto;
padding: 0.28rem;
}
.section.contact-map .cm-map {
top: 0.6rem;
height: 4.4rem;
background-size: cover;
}
.section.contact-map .title h1 {
font-size: 0.36rem;
margin-bottom: 0;
line-height: 0.36rem;
}
.section.contact-map .title p {
font-size: 0.28rem;
line-height: 0.28rem;
}
.section.contact-map .items li {
align-items: flex-start;
margin-top: 0.1rem;
}
.section.contact-map .items img {
width: 0.28rem;
height: 0.28rem;
}
.section.contact-map .items p {
font-size: 0.28rem;
line-height: 0.28rem;
}
.section.paragraph-content {
margin-top: 0.7rem;
margin-bottom: 0.74rem;
}
.section.paragraph-content .paragraph .title {
font-size: 0.36rem;
line-height: 0.36rem;
text-align: center;
margin-bottom: 0.36rem;
}
.section.paragraph-content .paragraph .content {
font-size: 0.32rem;
line-height: 0.4rem;
}
.section.cooperate .content {
font-size: 0.32rem;
line-height: 0.4rem;
margin-top: 0.56rem;
margin-bottom: 0.7rem;
}
.section.article-detail {
margin-top: 0;
margin-bottom: 0.8rem;
}
.section.article-detail .title {
padding: 0.4rem 0;
text-align: left;
border-bottom: 0.04rem dashed #E5E5E5;
}
.section.article-detail .title h1 {
font-size: 0.36rem;
line-height: 0.4rem;
}
.section.article-detail .content {
padding: 0.24rem 0;
font-size: 0.32rem;
line-height: 0.4rem;
}
.section.article-detail .close-page {
display: none;
}
.section.story-cont {
margin-top: 0.48rem;
}
.section.story-cont .title {
font-size: 0.36rem;
text-align: center;
margin-bottom: 0.24rem;
line-height: 0.36rem;
}
.section.story-cont .image-con {
border-radius: 0;
}
.section.story-cont .image-con .swiper-slide {
width: 100%;
height: 2.98rem;
border-radius: 0;
}
.section.story-cont .image-con .text-con {
padding: 0.18rem 0.2rem;
}
.section.story-cont .image-con .text-con p {
height: 0.32rem;
font-size: 0.32rem;
line-height: 0.32rem;
}
.section.story-cont .story-item:nth-child(2n) .desc {
border-radius: 0;
}
.section.story-cont .story-item .img {
width: 100%;
height: 3.76rem;
border-radius: 0;
float: unset;
}
.section.story-cont .story-item .desc {
width: 100%;
height: auto;
border-radius: 0;
float: unset;
margin-top: 0;
padding: 0.6rem 0.4rem;
}
.section.story-cont .story-item .text {
display: inline-block;
font-size: 0.32rem;
line-height: 0.4rem;
margin-bottom: 0.4rem;
}
.section.story-cont .story-item .text:nth-child(2) {
color: #666666;
margin-left: 0.2rem;
}
.section.story-cont .story-item .content {
font-size: 0.28rem;
line-height: 0.4rem;
}
.section.story-cont.last {
margin-bottom: 0.48rem;
}
.s-section .s-title {
font-size: 0.36rem;
line-height: 0.32rem;
text-align: center;
}
.s-section.s1-first {
margin-top: 0.6rem;
margin-bottom: 0.6rem;
}
.section.business-nav {
width: 100%;
margin-top: 0.2rem;
}
.section.business-nav .nav li {
width: auto;
padding: 0;
}
.section.business-nav .nav a {
display: block;
width: 100%;
color: #666666;
font-size: 0.28rem;
line-height: 0.6rem;
padding: 0.04rem 0.24rem;
box-sizing: border-box;
}
.section.business-cont .title {
font-size: 0rem;
}
.section.business-cont .title h2 {
font-size: 0.36rem;
line-height: 0.36rem;
}
.section.business-cont .title::after {
width: 0.58rem;
height: 0.04rem;
margin-top: 0.2rem;
}
.business-cont.s1 {
margin-top: 0.5rem;
}
.business-cont.s2 {
margin-top: 0.6rem;
}
.business-cont.s2 .mid-box {
margin: 0.3rem 0 0.1rem 0;
}
.business-cont.s2 .mid-box .ad-text {
font-size: 0.28rem;
line-height: 0.32rem;
font-weight: normal;
text-align: center;
}
.business-cont.s3 {
margin-top: 1rem;
padding-bottom: 0;
padding-top: 0;
background-color: unset;
}
.business-cont.s3 .mid-box {
margin-top: 0.4rem;
margin-bottom: 0.4rem;
}
.business-cont.s3 .mid-box .num {
font-size: 0.28rem;
line-height: 0.36rem;
}
.business-cont.s3 .mid-box .desc {
font-size: 0.28rem;
line-height: 0.36rem;
margin-top: 0.2rem;
}
.business-cont.s3 .mid-box .cont {
width: 100%;
}
.business-cont.s3 .mid-box li {
width: 33.33333%;
}
.business-cont.s3 .mid-box li::after {
height: 0.52rem;
}
.business-cont.s4 {
padding: 0.6rem 0;
}
.s-content.g1 {
text-align: center;
}
.s-content.g1 li {
width: 46%;
margin-left: 2%;
margin-right: 2%;
}
.s-content.g1 li:nth-child(4n) {
margin-right: 2%;
}
.s-content.g1 .icon {
width: 1.14rem;
height: 0.82rem;
}
.s-content.g1 h4 {
height: 0.4rem;
font-size: 0.32rem;
margin: 0.3rem 0;
line-height: 0.4rem;
}
.s-content.g1 p {
height: 0.32rem;
font-size: 0.28rem;
line-height: 0.32rem;
}
.s-content.g1 .item {
width: 100%;
height: auto;
padding: 0.4rem 0;
box-shadow: 0rem 0.04rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
border-radius: 0.2rem;
}
.s-content.g2 li {
float: initial;
margin-right: 0;
}
.s-content.g2 .item {
width: 100%;
height: auto;
border: 0.02rem solid #DDDDDD;
box-shadow: 0rem 0.04rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
}
.s-content.g2 .icon-cont {
width: 100%;
height: 2.3rem;
}
.s-content.g2 .desc {
padding: 0.3rem;
height: auto;
}
.s-content.g2 .desc h4 {
height: 0.4rem;
font-size: 0.32rem;
line-height: 0.4rem;
margin-bottom: 0.2rem;
}
.s-content.g2 .desc p {
height: 0.32rem;
font-size: 0.28rem;
line-height: 0.32rem;
}
.s-content.g3 ul,
.s-content.g4 ul {
text-align: center;
}
.s-content.g3 li,
.s-content.g4 li {
width: 3.25rem;
margin-right: 0.3rem;
margin-top: 0.24rem;
}
.s-content.g3 li:nth-child(3n),
.s-content.g4 li:nth-child(3n) {
margin-right: 0.3rem;
}
.s-content.g3 li:nth-child(2n),
.s-content.g4 li:nth-child(2n) {
margin-right: 0;
}
.s-content.g3 .item,
.s-content.g4 .item {
width: 100%;
height: auto;
border: 0.02rem solid #DDDDDD;
box-shadow: 0rem 0.04rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
}
.s-content.g3 .desc,
.s-content.g4 .desc {
text-align: left;
}
.s-content.g3 .desc .i-title,
.s-content.g4 .desc .i-title {
height: 0.4rem;
font-size: 0.32rem;
margin-bottom: 0.1rem;
line-height: 0.4rem;
}
.s-content.g3 .desc .i-desc,
.s-content.g4 .desc .i-desc {
height: 0.64rem;
font-size: 0.28rem;
line-height: 0.32rem;
color: #666666;
}
.s-content.g3 .icon-cont,
.s-content.g4 .icon-cont {
width: 100%;
height: 1.67rem;
}
.s-content.g3 .desc,
.s-content.g4 .desc {
height: auto;
padding: 0.2rem;
}
.s-content.g3 .btn,
.s-content.g4 .btn {
height: auto;
padding: 0.2rem;
}
.s-content.g3 .btn .b-text,
.s-content.g4 .btn .b-text {
width: 2.6rem;
height: 0.52rem;
line-height: 0.52rem;
font-size: 0.28rem;
}
.s-content.g5 {
margin-top: 0.3rem;
}
.s-content.g5 .item {
width: 2rem;
}
.s-content.g5 .item img {
width: 0.52rem;
height: 0.52rem;
}
.s-content.g5 .item p {
font-size: 0.32rem;
line-height: 0.4rem;
margin-top: 0.3rem;
}
}