generated from nuxt/nuxt_site
197 lines
2.9 KiB
SCSS
197 lines
2.9 KiB
SCSS
.box {
|
|
width: 100%;
|
|
// background-color: black;
|
|
}
|
|
|
|
section{
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.index-bg{
|
|
background-color: #F9F9F9;
|
|
}
|
|
|
|
|
|
h2 {
|
|
margin: 0 0 45px;
|
|
font-size: 25px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
h2 span {
|
|
position: relative;
|
|
}
|
|
|
|
h2 i {
|
|
position: absolute;
|
|
right: -43px;
|
|
top: -10px;
|
|
background: var(--rootColor);
|
|
padding: 2px 8px;
|
|
border-radius: 20px 20px 20px 0;
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
h2:after {
|
|
content: " ";
|
|
width: 30px;
|
|
background: var(--rootColor);
|
|
height: 3px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 45px;
|
|
margin-left: calc(50% - 10px);
|
|
border-radius: 1.5px;
|
|
}
|
|
|
|
|
|
|
|
// 海报
|
|
.poster-box {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.poster-img-box {
|
|
width: 100%;
|
|
height: 180px;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.poster-img-box img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
|
|
// 精选推荐
|
|
.update-big-box {
|
|
margin-top: 35px;
|
|
}
|
|
|
|
.content-list-box {
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.content-box {
|
|
width: 100%;
|
|
height: 430px;
|
|
float: left;
|
|
background: #fff;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.075);
|
|
position: relative;
|
|
border-radius: 15px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
transition: all .3s ease 0s;
|
|
margin-bottom: 40px;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.content-box:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.content-img-box {
|
|
width: 100%;
|
|
height: 70%;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.content-img-box img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.content-box-content {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.content-box-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.content-rate-box {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.content-rate-icon-box {
|
|
display: flex;
|
|
margin-right: 15px;
|
|
align-items: center;
|
|
font-size: 15px;
|
|
color: #8FA0B7;
|
|
}
|
|
|
|
.content-rate-icon {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.content-line {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #F7F7F7;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.content-user-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.content-user-img-box {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.content-user-name{
|
|
width: 120px;
|
|
margin-left: 10px;
|
|
font-size: 15px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.content-user-send-time{
|
|
font-size: 14px;
|
|
font-weight: normal;
|
|
color: grey;
|
|
}
|
|
|
|
|
|
// 按钮
|
|
.btn-box{
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.btn{
|
|
width: 150px;
|
|
font-size: 18px;
|
|
border-radius: 20px;
|
|
background-color: #3F3F3F;
|
|
border: none;
|
|
color: #fff;
|
|
letter-spacing: 1.5px;
|
|
} |