zxf/css/responsive.less

709 lines
13 KiB
Plaintext

// main max width
@mw: 92%;
@xt: 18px;
@mt: 16px;
@st: 14px;
@mst: 12px;
@media screen and (max-width: 768px) {
.pc {
display: none;
}
.mobile {
display: initial;
}
.main-wrap {
width: @mw;
max-width: 500px;
}
.header {
.logo {
font-size: 0;
img {
max-height: 26px;
}
}
.main {
height: 45px;
}
.menu {
.menu-group {
z-index: 20;
display: none;
position: fixed;
left: 0;
top: 45px;
right: 0;
animation-duration: 0.2s;
}
.menu-mask {
z-index: 10;
display: none;
position: fixed;
top: 45px;
left: 0;
right: 0;
bottom: 0;
animation-duration: 0.35s;
// background-image: url('../images/transparent-bg.png');
}
.menu-btn {
font-size: 0;
.btn-img {
max-width: 26px;
}
}
.item {
margin-left: 0;
background-color: #C7001C;
padding: 0 18px;
.link {
display: block;
box-sizing: border-box;
border-bottom: 2px solid #D02121;
padding: 15px 0;
}
.link.active,
.link:hover {
font-weight: normal;
}
}
.item:first-child {
padding-top: 25px;
}
.item:last-child {
padding-bottom: 40px;
}
}
}
.footer {
.logo-bottom {
max-height: 26px;
}
.main {
.row {
font-size: @mt;
margin-top: 15px;
}
.tel {
width: 208px;
font-size: @mt;
padding: 10px;
}
}
}
.section.main-banner {
.item {
height: 255px;
}
}
.banner-text {
padding-top: 25px;
p:nth-child(1) {
font-size: @xt;
line-height: 18px;
margin-bottom: 15px;
}
p:nth-child(2) {
font-size: @st;
line-height: 16px;
}
}
.section {
.section-title.style-1 {
.title {
font-size: @xt;
line-height: 18px;
}
.title::before,
.title::after {
width: 29px;
height: 2px;
}
}
}
.section.idx-about {
margin-top: 20px;
.ia-container {
margin-top: 20px;
font-size: @mt;
line-height: 20px;
}
.ia-image {
margin-top: 20px;
}
}
.section.idx-culture {
margin-top: 35px;
margin-bottom: 35px;
.culture-item:first-child {
margin-top: 20px;
}
.culture-item {
height: auto;
margin-top: 10px;
padding: 20px;
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.35);
}
.title {
margin-bottom: 14px;
.text {
font-size: @mt;
}
.cover {
width: 15px;
height: 15px;
margin-right: 8px;
}
}
.desc {
font-size: @st;
line-height: 18px;
}
}
.section.sec-banner {
height: 174px;
.banner-text {
padding-top: 45px;
}
}
.full-wrap.about {
background-color: unset;
}
.section.about-textarea {
padding-top: 20px;
padding-bottom: 35px;
.at-img {
max-height: 30px;
}
.content {
margin-top: 20px;
font-size: @mt;
line-height: 20px;
}
.img-group {
margin-top: 30px;
.item {
width: 32%;
height: auto;
}
}
}
.section.mapcont {
margin-top: 0;
.mcont {
margin-top: 25px;
}
}
.section.addrcont {
margin-top: 20px;
margin-bottom: 50px;
.aacont {
margin-top: 25px;
li::before {
width: 19px;
height: 19px;
margin-top: 2px;
}
li:nth-child(2) {
margin-top: 15px;
}
li {
width: 100%;
float: unset;
margin-top: 15px;
align-items: flex-start;
}
a {
font-size: @mt;
line-height: unset;
margin-left: 7px;
}
}
}
.section.contact-map {
margin-top: 30px;
height: 250px;
.cm-desc {
width: 339px;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
.logo {
width: 127px;
height: 127px;
}
.desc {
width: auto;
padding: 14px;
}
}
.cm-map {
top: 30px;
height: 220px;
}
.title {
h1 {
font-size: @xt;
margin-bottom: 0;
line-height: 18px;
}
p {
font-size: @st;
}
}
.items {
li {
margin-top: 5px;
}
img {
width: 13px;
height: 13px;
}
p {
font-size: @st;
line-height: 14px;
}
}
}
.section.paragraph-content {
margin-top: 35px;
margin-bottom: 37px;
.paragraph {
.title {
font-size: @xt;
line-height: 18px;
text-align: center;
margin-bottom: 18px;
}
.content {
font-size: @mt;
line-height: 20px;
}
}
}
.section.cooperate {
.content {
font-size: @mt;
line-height: 20px;
margin-top: 28px;
margin-bottom: 35px;
}
}
.section.article-detail {
margin-top: 0;
margin-bottom: 40px;
.title {
padding: 20px 0;
text-align: left;
border-bottom: 2px dashed #E5E5E5;
h1 {
font-size: @xt;
line-height: 20px;
}
}
.content {
padding: 12px 0;
font-size: @mt;
line-height: 20px;
}
}
.section.story-cont {
margin-top: 24px;
.title {
font-size: @xt;
text-align: center;
margin-bottom: 12px;
}
.image-con {
border-radius: 0;
.text-con {
padding: 9px 10px;
p {
height: 16px;
font-size: @mt;
line-height: 16px;
}
}
}
.story-item:nth-child(2n) {
.desc {
border-radius: 0;
}
}
.story-item {
.img {
width: 100%;
height: 188px;
border-radius: 0;
float: unset;
}
.desc {
width: 100%;
height: auto;
border-radius: 0;
float: unset;
margin-top: 0;
padding: 30px 20px;
}
.text {
display: inline-block;
font-size: @mt;
line-height: 20px;
margin-bottom: 20px;
}
.text:nth-child(2) {
color: #666666;
margin-left: 10px;
}
.content {
font-size: @st;
line-height: 20px;
}
}
}
.section.story-cont.last {
margin-bottom: 24px;
}
.s-section {
.s-title {
font-size: @xt;
line-height: 16px;
text-align: center;
}
}
.s-section.s1-first {
margin-top: 30px;
margin-bottom: 30px;
}
.section.business-nav {
width: 100%;
margin-top: 10px;
.nav {
li {
width: auto;
padding: 0;
}
a {
display: block;
width: 100%;
color: #666666;
font-size: @st;
line-height: 30px;
background-color: #F3F3F3;
padding: 2px 5px;
}
}
}
.section.business-cont {
.title {
font-size: 0px;
h2 {
font-size: @xt;
line-height: 18px;
}
}
.title::after {
width: 29px;
height: 2px;
margin-top: 10px;
}
}
.business-cont.s1 {
margin-top: 25px;
}
.business-cont.s2 {
margin-top: 30px;
.mid-box {
margin: 15px 0 5px 0;
.ad-text {
font-size: @st;
font-weight: normal;
text-align: center;
}
}
}
.business-cont.s3 {
margin-top: 50px;
padding-bottom: 0;
padding-top: 0;
background-color: unset;
.mid-box {
margin-top: 20px;
margin-bottom: 20px;
.num {
font-size: @st;
line-height: 18px;
}
.desc {
font-size: @st;
line-height: 18px;
margin-top: 10px;
}
.cont {
width: 100%;
}
li {
width: 33.33333%;
}
li::after {
height: 26px;
}
}
}
.business-cont.s4 {
padding: 30px 0;
}
.s-content.g1 {
text-align: center;
li {
width: 46%;
margin-left: 2%;
margin-right: 2%;
}
li:nth-child(4n) {
margin-right: 2%;
}
.icon {
width: 57px;
height: 41px;
}
h4 {
font-size: @mt;
margin: 15px 0;
}
p {
font-size: @st;
}
.item {
width: 100%;
height: auto;
padding: 20px 0;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
border-radius: 10px;
}
}
.s-content.g2 {
li {
float: initial;
margin-right: 0;
}
.item {
width: 100%;
height: auto;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.icon-cont {
height: auto;
}
.desc {
padding: 15px;
height: auto;
h4 {
font-size: @mt;
margin-bottom: 10px;
}
p {
font-size: @st;
}
}
}
.s-content.g3,
.s-content.g4 {
ul {
text-align: center;
}
li {
width: 46%;
margin-left: 2%;
margin-right: 2%;
margin-top: 12px;
}
li:nth-child(3n) {
margin-right: 2%;
}
.item {
width: 100%;
height: auto;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.desc {
text-align: left;
.i-title {
height: 20px;
font-size: @mt;
margin-bottom: 5px;
line-height: 20px;
}
.i-desc {
height: 32px;
font-size: @st;
line-height: 16px;
color: #666666;
}
}
.icon-cont {
height: auto;
}
.desc {
height: auto;
padding: 10px;
}
// g4
.btn {
height: auto;
padding: 10px;
}
.btn {
.b-text {
width: 130px;
height: 26px;
line-height: 26px;
font-size: @st;
}
}
}
.s-content.g5 {
margin-top: 15px;
.item {
width: 100px;
img {
width: 26px;
height: 26px;
}
p {
font-size: @mt;
line-height: 20px;
margin-top: 15px;
}
}
}
}