82 行
1.4 KiB
CSS
82 行
1.4 KiB
CSS
.poster {
|
|
width: 100%;
|
|
height: 400px;
|
|
background-color: #84000B;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
.img-poster {
|
|
height: 100%;
|
|
}
|
|
.index-btns {
|
|
position: absolute;
|
|
right: 40px;
|
|
bottom: 20px;
|
|
display: flex;
|
|
height: 40px;
|
|
}
|
|
.index-btns > .user {
|
|
margin-right: 10px;
|
|
}
|
|
/* 这里的卡片和分栏结构就比较接近bootstrap了,可惜视觉做的太古板,如果愿意的话改成Material Design就更好了 */
|
|
.split-lg > .card {
|
|
width: 440px;
|
|
flex-shrink: 0;
|
|
margin: 0 5px;
|
|
}
|
|
.card-header {
|
|
padding: .5em;
|
|
font-size: 20px;
|
|
border-bottom: 1px solid #e6e6e6;
|
|
}
|
|
.card-body {
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
.split-lg {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.img-list {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: -3px -5px;
|
|
align-items: flex-start;
|
|
}
|
|
.img-list > img {
|
|
width: 200px;
|
|
margin: 3px 5px;
|
|
}
|
|
|
|
.message-list {
|
|
margin: 0;
|
|
padding-left: 0;
|
|
list-style: none;
|
|
}
|
|
.message-list > li {
|
|
line-height: 20px;
|
|
padding: 8px 0;
|
|
position: relative;
|
|
}
|
|
/* list disk */
|
|
.message-list > li::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: #DADADA;
|
|
margin-right: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.split-lg > .card {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
}
|
|
} |