You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
3.2 KiB
115 lines
3.2 KiB
.cultureBlock{
|
|
background: url(../images/dangjian/cultureBg.jpg) no-repeat top center / cover;
|
|
padding: 60px 0;
|
|
.w1280{
|
|
.list{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: #fff;
|
|
.img{
|
|
width: 250px;
|
|
height: 140px;
|
|
font-size: 0;
|
|
img{
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.text{
|
|
width: calc(100% - 290px);
|
|
padding-top: 2px;
|
|
padding-right: 25px;
|
|
.tit{
|
|
overflow: hidden;
|
|
text-overflow:ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
line-height: 1.75;
|
|
color: #333;
|
|
}
|
|
.tips{
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
height: 49px;
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
line-height: 1.75;
|
|
color: #999;
|
|
}
|
|
.info{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 19px;
|
|
.time{
|
|
font-size: 14px;
|
|
color: #999;
|
|
}
|
|
.more{
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #f08200;
|
|
img{
|
|
margin-left: 7px;
|
|
transform: translateY(1px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.first{
|
|
.img{
|
|
width: 500px;
|
|
height: 280px;
|
|
}
|
|
.text{
|
|
width: calc(100% - 540px);
|
|
padding-top: 18px;
|
|
.tit{
|
|
font-size: 24px;
|
|
}
|
|
.tips{
|
|
-webkit-line-clamp: 3;
|
|
height: 75px;
|
|
}
|
|
.info{
|
|
margin-top: 69px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: 1080px) {
|
|
.cultureBlock{
|
|
padding: 40px 0;
|
|
}
|
|
}
|
|
@media (max-width: 750px) {
|
|
.cultureBlock .w1280{
|
|
.list{
|
|
flex-direction: column;
|
|
padding: 0;
|
|
.img{
|
|
width: 100%;
|
|
height: auto;
|
|
img{
|
|
width: 100%;
|
|
height: auto;
|
|
object-fit: initial;
|
|
}
|
|
}
|
|
.text{
|
|
width: 100%;
|
|
padding: 15px 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|