86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
|
|
.container {
|
|
width: 310px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
border: 1px solid #dbdbdb;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
.multiNews {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
.cover {
|
|
width: 308px;
|
|
height: 130px;
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 8px;
|
|
position: relative;
|
|
.img {
|
|
object-fit: contain;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.articleTitle {
|
|
// color: #fff;
|
|
padding: 0 12px;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
position: absolute;
|
|
top: 100px;
|
|
}
|
|
}
|
|
.newsItem {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding: 12px;
|
|
align-items: center;
|
|
.articleTitle {
|
|
width: 220px;
|
|
font-size: 14px;
|
|
color: #353535;
|
|
line-height: 48px;
|
|
border-bottom: 1px solid #dbdbdb;
|
|
font-weight: 500;
|
|
}
|
|
.imgCover {
|
|
object-fit: cover;
|
|
width: 48px;
|
|
height: 48px;
|
|
.img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
.newsItem:last-child {
|
|
.articleTitle {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
.singleNews {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
.cover {
|
|
width: 308px;
|
|
height: 130px;
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
.img {
|
|
object-fit: contain;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.articleTitle {
|
|
padding: 12px;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
color: #353535;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
} |