zxf/css/responsive.less

439 lines
8.3 KiB
Plaintext
Raw Normal View History

2023-10-04 17:06:26 +08:00
// main max width
@mw: 92%;
@media screen and (max-width: 768px) {
.pc {
display: none;
}
.mobile {
display: initial;
}
.main-wrap {
width: @mw;
}
.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: 10px;
margin-top: 10px;
line-height: 13px;
}
.tel {
width: 178px;
font-size: 12px;
padding: 10px;
}
}
}
.section.main-banner {
.item {
height: 255px;
}
}
.banner-text {
padding-top: 25px;
p:nth-child(1) {
font-size: 15px;
line-height: 15px;
margin-bottom: 15px;
}
p:nth-child(2) {
font-size: 12px;
line-height: 12px;
}
}
.section {
.section-title.style-1 {
.title {
font-size: 15px;
line-height: 18px;
}
.title::before,
.title::after {
width: 29px;
height: 2px;
}
}
}
.section.idx-about {
margin-top: 20px;
.ia-container {
margin-top: 20px;
font-size: 12px;
line-height: 18px;
}
.ia-image {
margin-top: 20px;
}
}
.section.idx-calture {
margin-top: 35px;
margin-bottom: 35px;
.caltrue-item:first-child {
margin-top: 20px;
}
.caltrue-item {
height: auto;
margin-top: 10px;
padding: 20px;
}
.title {
margin-bottom: 14px;
.text {
font-size: 15px;
}
.cover {
width: 15px;
height: 15px;
margin-right: 8px;
}
}
.desc {
font-size: 12px;
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: 12px;
line-height: 18px;
}
.img-group {
margin-top: 30px;
.item {
width: 110px;
height: 70px;
}
}
}
.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: 6px;
}
li:nth-child(2) {
margin-top: 15px;
}
li {
width: 100%;
float: unset;
margin-top: 15px;
align-items: flex-start;
}
a {
font-size: 12px;
line-height: 30px;
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: 14px;
margin-bottom: 0;
line-height: 14px;
}
p {
font-size: 10px;
}
}
.items {
li {
margin-top: 5px;
}
img {
width: 13px;
height: 13px;
}
p {
font-size: 12px;
line-height: 13px;
}
}
}
.section.paragraph-content {
margin-top: 35px;
margin-bottom: 37px;
.paragraph {
.title {
font-size: 14px;
line-height: 18px;
text-align: center;
margin-bottom: 18px;
}
.content {
font-size: 12px;
line-height: 20px;
}
}
}
.section.cooperate {
.content {
font-size: 12px;
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: 14px;
line-height: 18px;
}
}
.content {
padding: 12px 0;
font-size: 12px;
line-height: 18px;
}
}
.section.story-cont {
margin-top: 24px;
.title {
font-size: 11px;
text-align: center;
margin-bottom: 12px;
}
.image-con {
border-radius: 0;
p {
font-size: 10px;
line-height: 12px;
padding: 9px 15px;
}
}
.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: 12px;
line-height: 12px;
margin-bottom: 20px;
}
.text:nth-child(2) {
color: #666666;
margin-left: 10px;
}
.content {
font-size: 12px;
line-height: 18px;
}
}
}
.section.story-cont.last {
margin-bottom: 24px;
}
}